#9867C8#9867C8

#9867C8 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.6% C 0.149 H 305.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9867C8
RGBrgb(152, 103, 200)
HSLhsl(270, 47%, 59%)
HSVhsv(270, 49%, 78%)
CMYKcmyk(24%, 48.5%, 0%, 21.6%)
CIE-LABlab(52.45, 38.53, -43.28)
CIE-LCHlch(52.45, 57.94, 311.68°)
OKLaboklab(60.6% 0.0872 -0.1212)
OKLCHoklch(60.6% 0.149 305.7)
XYZxyz(28.2223, 20.5462, 57.1114)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867C8 #97C867
analogous
#6867C8 #9867C8 #C867C8
triadic
#9867C8 #C89867 #67C898
tetradic
#9867C8 #C86867 #97C867 #67C8C8
square
#9867C8 #C86867 #97C867 #67C8C8
split-complementary
#9867C8 #C8C867 #67C868
monochromatic
#5B3085 #7940B2 #9867C8 #B694D8 #D5C1E9

Accessibility & contrast

On white

4.11
#9867C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9867C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867C8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867C8#FFFFFF#000000##000000
##9867C81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCB
Deuteranopia (green-blind)
#597DC6
Tritanopia (blue-blind)
#90788E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9867c8;
/* rgb */ color: rgb(152, 103, 200);
/* oklch */ color: oklch(60.6% 0.149 305.7);
Tailwind
colors: {
  custom: {
    50: '#b893d9',
    500: '#9867c8',
    950: '#000000',
  },
}
SCSS
$custom: #9867c8;
$custom-light: #b893d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9867c8",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 200
  },
  "hsl": {
    "h": 270.309,
    "s": 46.86,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.14929,
    "h": 305.7
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#9867C8
secondary
#C5D8B3
accent
#D65193
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #9867C8

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

Preview Lab → · Contrast checker → · Palette generator →

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