#9867CD#9867CD

#9867CD is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.155 H 304.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9867CD
RGBrgb(152, 103, 205)
HSLhsl(269, 50%, 60%)
HSVhsv(269, 50%, 80%)
CMYKcmyk(25.9%, 49.8%, 0%, 19.6%)
CIE-LABlab(52.71, 39.72, -45.72)
CIE-LCHlch(52.71, 60.56, 310.99°)
OKLaboklab(60.88% 0.0877 -0.1283)
OKLCHoklch(60.88% 0.155 304.4)
XYZxyz(28.8162, 20.7838, 60.2393)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867CD #9CCD67
analogous
#6769CD #9867CD #CB67CD
triadic
#9867CD #CD9867 #67CD98
tetradic
#9867CD #CD6769 #9CCD67 #67CDCB
square
#9867CD #CD6769 #9CCD67 #67CDCB
split-complementary
#9867CD #CDCB67 #69CD67
monochromatic
#5B2E8C #793DBA #9867CD #B795DC #D6C3EB

Accessibility & contrast

On white

4.07
#9867CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9867CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867CD#FFFFFF#000000##000000
##9867CD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#8F7990
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9867cd;
/* rgb */ color: rgb(152, 103, 205);
/* oklch */ color: oklch(60.9% 0.155 304.4);
Tailwind
colors: {
  custom: {
    50: '#b994dd',
    500: '#9867cd',
    950: '#000000',
  },
}
SCSS
$custom: #9867cd;
$custom-light: #b994dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9867cd",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 205
  },
  "hsl": {
    "h": 268.824,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.15543,
    "h": 304.4
  },
  "luminance": 0.20784
}

Semantic roles & 50–950 ramp

primary
#9867CD
secondary
#C9DBB4
accent
#BE2876
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9867CD

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

Preview Lab → · Contrast checker → · Palette generator →

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