#9867EA#9867EA

#9867EA is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.6% C 0.191 H 297.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9867EA
RGBrgb(152, 103, 234)
HSLhsl(262, 76%, 66%)
HSVhsv(262, 56%, 92%)
CMYKcmyk(35%, 56%, 0%, 8.2%)
CIE-LABlab(54.36, 46.88, -59.47)
CIE-LCHlch(54.36, 75.73, 308.25°)
OKLaboklab(62.63% 0.0893 -0.1686)
OKLCHoklch(62.63% 0.191 297.9)
XYZxyz(32.6467, 22.3160, 80.4134)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867EA #B9EA67
analogous
#6777EA #9867EA #DA67EA
triadic
#9867EA #EA9867 #67EA98
tetradic
#9867EA #EA6777 #B9EA67 #67EADA
square
#9867EA #EA6777 #B9EA67 #67EADA
split-complementary
#9867EA #EADA67 #77EA67
monochromatic
#571ABD #7431E3 #9867EA #BC9DF1 #E1D3F9

Accessibility & contrast

On white

3.84
#9867EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9867EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867EA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867EA#FFFFFF#000000##000000
##9867EA1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#3C81E7
Tritanopia (blue-blind)
#86829F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9867ea;
/* rgb */ color: rgb(152, 103, 234);
/* oklch */ color: oklch(62.6% 0.191 297.9);
Tailwind
colors: {
  custom: {
    50: '#bb94f1',
    500: '#9867ea',
    950: '#000000',
  },
}
SCSS
$custom: #9867ea;
$custom-light: #bb94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9867ea",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 234
  },
  "hsl": {
    "h": 262.443,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62629,
    "c": 0.19078,
    "h": 297.9
  },
  "luminance": 0.22316
}

Semantic roles & 50–950 ramp

primary
#9867EA
secondary
#DCECC1
accent
#D80E8C
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867EA

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

Preview Lab → · Contrast checker → · Palette generator →

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