#9867CA#9867CA

#9867CA is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.7% C 0.152 H 305.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9867CA
RGBrgb(152, 103, 202)
HSLhsl(270, 48%, 60%)
HSVhsv(270, 49%, 79%)
CMYKcmyk(24.8%, 49%, 0%, 20.8%)
CIE-LABlab(52.55, 39.01, -44.26)
CIE-LCHlch(52.55, 58.99, 311.39°)
OKLaboklab(60.71% 0.0874 -0.124)
OKLCHoklch(60.71% 0.152 305.2)
XYZxyz(28.4576, 20.6403, 58.3505)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867CA #99CA67
analogous
#6767CA #9867CA #CA67CA
triadic
#9867CA #CA9867 #67CA98
tetradic
#9867CA #CA6767 #99CA67 #67CACA
square
#9867CA #CA6767 #99CA67 #67CACA
split-complementary
#9867CA #CACA67 #67CA67
monochromatic
#5B2F87 #793FB5 #9867CA #B794DA #D5C2EA

Accessibility & contrast

On white

4.10
#9867CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9867CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867CA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867CA#FFFFFF#000000##000000
##9867CA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#90788F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9867ca;
/* rgb */ color: rgb(152, 103, 202);
/* oklch */ color: oklch(60.7% 0.152 305.2);
Tailwind
colors: {
  custom: {
    50: '#b993da',
    500: '#9867ca',
    950: '#000000',
  },
}
SCSS
$custom: #9867ca;
$custom-light: #b993da;
$custom-dark: #000000;
JSON
{
  "hex": "#9867ca",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 202
  },
  "hsl": {
    "h": 269.697,
    "s": 48.293,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.15174,
    "h": 305.2
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#9867CA
secondary
#C7DAB3
accent
#D85095
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9867CA

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

Preview Lab → · Contrast checker → · Palette generator →

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