#9867E9#9867E9

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

Color values

HEX#9867E9
RGBrgb(152, 103, 233)
HSLhsl(263, 75%, 66%)
HSVhsv(263, 56%, 91%)
CMYKcmyk(34.8%, 55.8%, 0%, 8.6%)
CIE-LABlab(54.30, 46.63, -59.01)
CIE-LCHlch(54.30, 75.21, 308.32°)
OKLaboklab(62.57% 0.0893 -0.1672)
OKLCHoklch(62.57% 0.19 298.1)
XYZxyz(32.5035, 22.2587, 79.6589)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867E9 #B8E967
analogous
#6777E9 #9867E9 #D967E9
triadic
#9867E9 #E99867 #67E998
tetradic
#9867E9 #E96777 #B8E967 #67E9D9
square
#9867E9 #E96777 #B8E967 #67E9D9
split-complementary
#9867E9 #E9D967 #77E967
monochromatic
#571BBB #7432E1 #9867E9 #BC9CF1 #E0D2F8

Accessibility & contrast

On white

3.85
#9867E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#9867E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867E9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867E9#FFFFFF#000000##000000
##9867E91.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82ED
Deuteranopia (green-blind)
#3D81E6
Tritanopia (blue-blind)
#86829E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9867e9;
/* rgb */ color: rgb(152, 103, 233);
/* oklch */ color: oklch(62.6% 0.190 298.1);
Tailwind
colors: {
  custom: {
    50: '#bb94f1',
    500: '#9867e9',
    950: '#000000',
  },
}
SCSS
$custom: #9867e9;
$custom-light: #bb94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9867e9",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 233
  },
  "hsl": {
    "h": 262.615,
    "s": 74.713,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.18957,
    "h": 298.1
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#9867E9
secondary
#DBEBC0
accent
#D70F8B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867E9

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

Preview Lab → · Contrast checker → · Palette generator →

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