#9867DD#9867DD

#9867DD is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.175 H 300.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9867DD
RGBrgb(152, 103, 221)
HSLhsl(265, 63%, 64%)
HSVhsv(265, 53%, 87%)
CMYKcmyk(31.2%, 53.4%, 0%, 13.3%)
CIE-LABlab(53.60, 43.62, -53.39)
CIE-LCHlch(53.60, 68.94, 309.25°)
OKLaboklab(61.82% 0.0889 -0.1507)
OKLCHoklch(61.82% 0.175 300.5)
XYZxyz(30.8472, 21.5962, 70.9359)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867DD #ACDD67
analogous
#6771DD #9867DD #D367DD
triadic
#9867DD #DD9867 #67DD98
tetradic
#9867DD #DD6771 #ACDD67 #67DDD3
square
#9867DD #DD6771 #ACDD67 #67DDD3
split-complementary
#9867DD #DDD367 #71DD67
monochromatic
#5A25A5 #7635D2 #9867DD #BA99E8 #DCCBF3

Accessibility & contrast

On white

3.95
#9867DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9867DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867DD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867DD#FFFFFF#000000##000000
##9867DD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#8A7E98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9867dd;
/* rgb */ color: rgb(152, 103, 221);
/* oklch */ color: oklch(61.8% 0.175 300.5);
Tailwind
colors: {
  custom: {
    50: '#ba94e8',
    500: '#9867dd',
    950: '#000000',
  },
}
SCSS
$custom: #9867dd;
$custom-light: #ba94e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9867dd",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 264.915,
    "s": 63.441,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.17501,
    "h": 300.5
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#9867DD
secondary
#D3E5BB
accent
#CB1A82
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9867DD

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

Preview Lab → · Contrast checker → · Palette generator →

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