Skip to content

#968dfd

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

RGB
150, 141, 253
HSL
245°, 97%, 77%
CMYK
41, 44, 0, 1
Luminance
0.3263

At a glance

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

Hex
#968dfd
Hue
245°
blue
Saturation
97%
electric
Lightness
77%
light
Brightness
99%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3263
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.53:1
Closest name
Medium Purple
ΔE2000 9.7
Where it sits
Hue245° of 360°
Saturation97%
Lightness77%
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#968dfd
RGBrgb(150, 141, 253)
HSLhsl(245, 97%, 77%)
CMYKcmyk(41%, 44%, 0%, 1%)
LABlab(63.9 29.9 -54.8)
LCHlch(63.9 62.5 298.6)
OKLCHoklch(0.700 0.161 285.1)
Decimal9866749
Display P3color(display-p3 0.588 0.553 0.992)

Copy-ready code

/* CSS */
color: #968dfd;
background-color: #968dfd;
/* Tailwind (arbitrary) */
class="text-[#968dfd] bg-[#968dfd]"
/* SCSS */
$brand: #968dfd;
/* SwiftUI */
Color(red: 0.588, green: 0.553, blue: 0.992)
/* Android */
Color.parseColor("#968dfd")
/* Flutter */
Color(0xFF968DFD)
/* Python / OpenCV (BGR) */
(253, 141, 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 #968dfd · 7.53:1
Use #000000AAA at every size.
Aa
White text · 2.79:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.53:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #968dfd as text scores 2.79:1 on white and 7.53:1 on black.

Accessibility — WCAG contrast

Aa
#968dfd on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#968dfd on black: 7.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #639EFF
deuteranopia · #6097FA
tritanopia · #78A4B9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #968dfd 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.

#F2F1FD
#E6E4FC
#C6C1FB
#968dfd
#675AFC
#3422FB
#1704F1
#1303C9
#0F03A0
#100774
#0A0448
Base = 300Lightest = 50 · #F2F1FDDarkest = 950 · #0A0448
:root {
  --brand-50: #F2F1FD;
  --brand-100: #E6E4FC;
  --brand-200: #C6C1FB;
  --brand-300: #968dfd;
  --brand-400: #675AFC;
  --brand-500: #3422FB;
  --brand-600: #1704F1;
  --brand-700: #1303C9;
  --brand-800: #0F03A0;
  --brand-900: #100774;
  --brand-950: #0A0448;
  --brand: #968dfd;
  --brand-ink: #000000;
}

Colors that work with #968dfd

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#CCA900
Second voice, not a rival
Dark variant#0C027D
Hover, pressed, headers
Light variant#E8E6FF
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 #968dfd

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#F4FD8D
Analogous left#8DBCFD
Analogous right#CE8DFD
Split-complement 1#FDCE8D
Split-complement 2#BCFD8D
Triadic 1#FD968D
Triadic 2#8DFD96
Tetradic#FD8DBC

RGB percentages

Red58.8%
Green55.3%
Blue99.2%

CMYK percentages

Cyan40.7%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#968dfd text on a black background

contrast 7.53:1

Card sample

#968dfd text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #968dfd

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.

#968dfd 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#968dfd, answered

What color is #968dfd?

#968dfd is a light electric blue, closest to Medium Purple (ΔE2000 9.7). It sits at 245° on the hue wheel with 97% saturation and 77% lightness, which reads as cool.

What is the RGB value of #968dfd?

rgb(150, 141, 253) — 150 red, 141 green and 253 blue out of 255, or 58.8% / 55.3% / 99.2% by channel.

Is #968dfd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3263 and perceived brightness is 63%, so black text on it reaches 7.53:1.

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

Black. It scores 7.53:1 against #968dfd, versus 2.79:1 for white — AAA at any size.

What is the complementary color of #968dfd?

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

What colors go well with #968dfd?

For interface work: #F5F4FA as the surface, #C3C0ED for borders, #514B9B for secondary text, #CCA900 as an accent and #0C027D for hover and pressed states. For a palette, the analogous pair #8DBCFD and #CE8DFD stays calm, while #F4FD8D is the loudest partner.

What is #968dfd in CMYK for printing?

cmyk(41%, 44%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #968dfd 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 #BF8DFD; nudged cooler, #8CACFE.

Work with #968dfd in the Color Lab