#9867EE#9867EE

#9867EE is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.196 H 297.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9867EE
RGBrgb(152, 103, 238)
HSLhsl(262, 80%, 67%)
HSVhsv(262, 57%, 93%)
CMYKcmyk(36.1%, 56.7%, 0%, 6.7%)
CIE-LABlab(54.60, 47.90, -61.31)
CIE-LCHlch(54.60, 77.81, 308.00°)
OKLaboklab(62.89% 0.0894 -0.174)
OKLCHoklch(62.89% 0.196 297.2)
XYZxyz(33.2279, 22.5484, 83.4740)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867EE #BDEE67
analogous
#677AEE #9867EE #DC67EE
triadic
#9867EE #EE9867 #67EE98
tetradic
#9867EE #EE677A #BDEE67 #67EEDC
square
#9867EE #EE677A #BDEE67 #67EEDC
split-complementary
#9867EE #EEDC67 #7AEE67
monochromatic
#5516C5 #7330E8 #9867EE #BD9EF4 #E3D5FA

Accessibility & contrast

On white

3.81
#9867EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9867EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867EE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867EE#FFFFFF#000000##000000
##9867EE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F2
Deuteranopia (green-blind)
#3681EB
Tritanopia (blue-blind)
#8483A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9867ee;
/* rgb */ color: rgb(152, 103, 238);
/* oklch */ color: oklch(62.9% 0.196 297.2);
Tailwind
colors: {
  custom: {
    50: '#bb94f4',
    500: '#9867ee',
    950: '#000000',
  },
}
SCSS
$custom: #9867ee;
$custom-light: #bb94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9867ee",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 238
  },
  "hsl": {
    "h": 261.778,
    "s": 79.882,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62886,
    "c": 0.19559,
    "h": 297.2
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

primary
#9867EE
secondary
#DEEEC3
accent
#DC0990
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867EE

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

Preview Lab → · Contrast checker → · Palette generator →

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