#9867EF#9867EF

#9867EF is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.9% C 0.197 H 297.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9867EF
RGBrgb(152, 103, 239)
HSLhsl(262, 81%, 67%)
HSVhsv(262, 57%, 94%)
CMYKcmyk(36.4%, 56.9%, 0%, 6.3%)
CIE-LABlab(54.67, 48.16, -61.77)
CIE-LCHlch(54.67, 78.33, 307.94°)
OKLaboklab(62.95% 0.0894 -0.1753)
OKLCHoklch(62.95% 0.197 297)
XYZxyz(33.3752, 22.6074, 84.2499)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867EF #BEEF67
analogous
#677AEF #9867EF #DC67EF
triadic
#9867EF #EF9867 #67EF98
tetradic
#9867EF #EF677A #BEEF67 #67EFDC
square
#9867EF #EF677A #BEEF67 #67EFDC
split-complementary
#9867EF #EFDC67 #7AEF67
monochromatic
#5515C7 #7230E9 #9867EF #BE9EF5 #E3D6FB

Accessibility & contrast

On white

3.80
#9867EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9867EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867EF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867EF#FFFFFF#000000##000000
##9867EF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F3
Deuteranopia (green-blind)
#3581EC
Tritanopia (blue-blind)
#8484A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9867ef;
/* rgb */ color: rgb(152, 103, 239);
/* oklch */ color: oklch(62.9% 0.197 297.0);
Tailwind
colors: {
  custom: {
    50: '#bb94f5',
    500: '#9867ef',
    950: '#000000',
  },
}
SCSS
$custom: #9867ef;
$custom-light: #bb94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9867ef",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 239
  },
  "hsl": {
    "h": 261.618,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6295,
    "c": 0.19679,
    "h": 297
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

primary
#9867EF
secondary
#DFEEC3
accent
#DD0891
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867EF

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

Preview Lab → · Contrast checker → · Palette generator →

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