#9972EE#9972EE

#9972EE is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.7% C 0.180 H 295.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9972EE
RGBrgb(153, 114, 238)
HSLhsl(259, 78%, 69%)
HSVhsv(259, 52%, 93%)
CMYKcmyk(35.7%, 52.1%, 0%, 6.7%)
CIE-LABlab(57.06, 42.06, -57.38)
CIE-LCHlch(57.06, 71.14, 306.24°)
OKLaboklab(64.72% 0.0773 -0.1624)
OKLCHoklch(64.72% 0.18 295.4)
XYZxyz(34.5829, 24.9794, 83.8718)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9972EE #C7EE72
analogous
#7289EE #9972EE #D772EE
triadic
#9972EE #EE9972 #72EE99
tetradic
#9972EE #EE7289 #C7EE72 #72EED7
square
#9972EE #EE7289 #C7EE72 #72EED7
split-complementary
#9972EE #EED772 #89EE72
monochromatic
#5119CD #713BE7 #9972EE #C1A9F5 #E8DFFB

Accessibility & contrast

On white

3.50
#9972EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9972EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9972EE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9972EE#FFFFFF#000000##000000
##9972EE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#858BA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9972ee;
/* rgb */ color: rgb(153, 114, 238);
/* oklch */ color: oklch(64.7% 0.180 295.4);
Tailwind
colors: {
  custom: {
    50: '#bb9bf4',
    500: '#9972ee',
    950: '#000000',
  },
}
SCSS
$custom: #9972ee;
$custom-light: #bb9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9972ee",
  "rgb": {
    "r": 153,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 258.871,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.17985,
    "h": 295.4
  },
  "luminance": 0.2498
}

Semantic roles & 50–950 ramp

primary
#9972EE
secondary
#E5F0CC
accent
#DB0B99
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9972EE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9972EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva