#9867CB#9867CB

#9867CB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.8% C 0.153 H 304.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9867CB
RGBrgb(152, 103, 203)
HSLhsl(269, 49%, 60%)
HSVhsv(269, 49%, 80%)
CMYKcmyk(25.1%, 49.3%, 0%, 20.4%)
CIE-LABlab(52.61, 39.24, -44.74)
CIE-LCHlch(52.61, 59.52, 311.25°)
OKLaboklab(60.76% 0.0875 -0.1255)
OKLCHoklch(60.76% 0.153 304.9)
XYZxyz(28.5763, 20.6878, 58.9760)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867CB #9ACB67
analogous
#6768CB #9867CB #CA67CB
triadic
#9867CB #CB9867 #67CB98
tetradic
#9867CB #CB6768 #9ACB67 #67CBCA
square
#9867CB #CB6768 #9ACB67 #67CBCA
split-complementary
#9867CB #CBCA67 #68CB67
monochromatic
#5B2F89 #793EB6 #9867CB #B795DB #D6C2EA

Accessibility & contrast

On white

4.09
#9867CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9867CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867CB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867CB#FFFFFF#000000##000000
##9867CB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#577EC8
Tritanopia (blue-blind)
#90798F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9867cb;
/* rgb */ color: rgb(152, 103, 203);
/* oklch */ color: oklch(60.8% 0.153 304.9);
Tailwind
colors: {
  custom: {
    50: '#b993db',
    500: '#9867cb',
    950: '#000000',
  },
}
SCSS
$custom: #9867cb;
$custom-light: #b993db;
$custom-dark: #000000;
JSON
{
  "hex": "#9867cb",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 203
  },
  "hsl": {
    "h": 269.4,
    "s": 49.02,
    "l": 60
  },
  "oklch": {
    "l": 0.60764,
    "c": 0.15298,
    "h": 304.9
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#9867CB
secondary
#C7DAB4
accent
#D94F95
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9867CB

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

Preview Lab → · Contrast checker → · Palette generator →

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