#9867EB#9867EB

#9867EB is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.192 H 297.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9867EB
RGBrgb(152, 103, 235)
HSLhsl(262, 77%, 66%)
HSVhsv(262, 56%, 92%)
CMYKcmyk(35.3%, 56.2%, 0%, 7.8%)
CIE-LABlab(54.42, 47.14, -59.93)
CIE-LCHlch(54.42, 76.25, 308.19°)
OKLaboklab(62.69% 0.0893 -0.1699)
OKLCHoklch(62.69% 0.192 297.7)
XYZxyz(32.7908, 22.3736, 81.1721)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867EB #BAEB67
analogous
#6778EB #9867EB #DA67EB
triadic
#9867EB #EB9867 #67EB98
tetradic
#9867EB #EB6778 #BAEB67 #67EBDA
square
#9867EB #EB6778 #BAEB67 #67EBDA
split-complementary
#9867EB #EBDA67 #78EB67
monochromatic
#5619BF #7331E4 #9867EB #BD9DF2 #E1D3F9

Accessibility & contrast

On white

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

On black

5.47
#9867EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867EB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867EB#FFFFFF#000000##000000
##9867EB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#85829F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9867eb;
/* rgb */ color: rgb(152, 103, 235);
/* oklch */ color: oklch(62.7% 0.192 297.7);
Tailwind
colors: {
  custom: {
    50: '#bb94f2',
    500: '#9867eb',
    950: '#000000',
  },
}
SCSS
$custom: #9867eb;
$custom-light: #bb94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9867eb",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 262.273,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62693,
    "c": 0.19198,
    "h": 297.7
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9867EB

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

Preview Lab → · Contrast checker → · Palette generator →

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