Skip to content

#968fea

a light, vivid blue · cool · closest name: Medium Purple

RGB
150, 143, 234
HSL
245°, 68%, 74%
CMYK
36, 39, 0, 8
Luminance
0.3207

At a glance

Every number on this page in one read: what #968fea is made of, how bright it looks, and which way it leans.

Hex
#968fea
Hue
245°
blue
Saturation
68%
vivid
Lightness
74%
light
Brightness
92%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3207
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.41:1
Closest name
Medium Purple
ΔE2000 9.5
Where it sits
Hue245° of 360°
Saturation68%
Lightness74%
Temperature
Warm ← → Cool81% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#968fea
RGBrgb(150, 143, 234)
HSLhsl(245, 68%, 74%)
CMYKcmyk(36%, 39%, 0%, 8%)
LABlab(63.4 23.7 -45.1)
LCHlch(63.4 50.9 297.7)
OKLCHoklch(0.694 0.132 285.9)
Decimal9867242
Display P3color(display-p3 0.588 0.561 0.918)

Copy-ready code

/* CSS */
color: #968fea;
background-color: #968fea;
/* Tailwind (arbitrary) */
class="text-[#968fea] bg-[#968fea]"
/* SCSS */
$brand: #968fea;
/* SwiftUI */
Color(red: 0.588, green: 0.561, blue: 0.918)
/* Android */
Color.parseColor("#968fea")
/* Flutter */
Color(0xFF968FEA)
/* Python / OpenCV (BGR) */
(234, 143, 150)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #968fea · 7.41:1
Use #000000AAA at every size.
Aa
White text · 2.83:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.41:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #968fea as text scores 2.83:1 on white and 7.41:1 on black.

Accessibility — WCAG contrast

Aa
#968fea on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#968fea on black: 7.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #729CEE
deuteranopia · #7097E8
tritanopia · #80A0B1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #968fea is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F3FB
#E9E8F8
#CDCAF2
#968fea
#7A71E4
#4E42DC
#3427CE
#2B20AC
#221A89
#1D1764
#120E3E
Base = 300Lightest = 50 · #F4F3FBDarkest = 950 · #120E3E
:root {
  --brand-50: #F4F3FB;
  --brand-100: #E9E8F8;
  --brand-200: #CDCAF2;
  --brand-300: #968fea;
  --brand-400: #7A71E4;
  --brand-500: #4E42DC;
  --brand-600: #3427CE;
  --brand-700: #2B20AC;
  --brand-800: #221A89;
  --brand-900: #1D1764;
  --brand-950: #120E3E;
  --brand: #968fea;
  --brand-ink: #000000;
}

Colors that work with #968fea

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F5F4FA
Tinted page background
Border#C3C0ED
Hairlines and dividers
Muted text#514B9B
Captions on the surface
Accent#B0961C
Second voice, not a rival
Dark variant#1B146B
Hover, pressed, headers
Light variant#EBEAFB
Selected rows, tints
Dark surface#151424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #968fea

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#E3EA8F
Analogous left#8FB5EA
Analogous right#C38FEA
Split-complement 1#EAC38F
Split-complement 2#B5EA8F
Triadic 1#EA968F
Triadic 2#8FEA96
Tetradic#EA8FB5

RGB percentages

Red58.8%
Green56.1%
Blue91.8%

CMYK percentages

Cyan35.9%
Magenta38.9%
Yellow0.0%
Key (black)8.2%

Color previews

#968fea text on a black background

contrast 7.41:1

Card sample

#968fea text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #968fea;
Background color
Panel with #968fea background
background-color: #968fea;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #968fea;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(150, 143, 234, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(150, 143, 234, 0.45);
Border & gradient
Gradient panel
border: 3px solid #968fea;
background: linear-gradient(135deg, #968fea, #D38FEA);

Monochromatic scale

Palettes built from #968fea

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#968fea in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#968fea, answered

What color is #968fea?

#968fea is a light vivid blue, closest to Medium Purple (ΔE2000 9.5). It sits at 245° on the hue wheel with 68% saturation and 74% lightness, which reads as cool.

What is the RGB value of #968fea?

rgb(150, 143, 234) — 150 red, 143 green and 234 blue out of 255, or 58.8% / 56.1% / 91.8% by channel.

Is #968fea a light or a dark color?

It is a mid-tone. Relative luminance is 0.3207 and perceived brightness is 62%, so black text on it reaches 7.41:1.

Should I use black or white text on #968fea?

Black. It scores 7.41:1 against #968fea, versus 2.83:1 for white — AAA at any size.

What is the complementary color of #968fea?

#E3EA8F sits directly opposite on the wheel. Softer options are the split-complements #EAC38F and #B5EA8F, which give the same contrast with far less vibration.

What colors go well with #968fea?

For interface work: #F5F4FA as the surface, #C3C0ED for borders, #514B9B for secondary text, #B0961C as an accent and #1B146B for hover and pressed states. For a palette, the analogous pair #8FB5EA and #C38FEA stays calm, while #E3EA8F is the loudest partner.

What is #968fea in CMYK for printing?

cmyk(36%, 39%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #968fea warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B78FEA; nudged cooler, #8EA9EB.

Work with #968fea in the Color Lab