#9869D8#9869D8

#9869D8 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.8% C 0.166 H 301.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9869D8
RGBrgb(152, 105, 216)
HSLhsl(265, 59%, 63%)
HSVhsv(265, 51%, 85%)
CMYKcmyk(29.6%, 51.4%, 0%, 15.3%)
CIE-LABlab(53.75, 41.28, -50.32)
CIE-LCHlch(53.75, 65.09, 309.36°)
OKLaboklab(61.84% 0.086 -0.1417)
OKLCHoklch(61.84% 0.166 301.3)
XYZxyz(30.3923, 21.7363, 67.5468)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869D8 #A9D869
analogous
#6972D8 #9869D8 #CF69D8
triadic
#9869D8 #D89869 #69D898
tetradic
#9869D8 #D86972 #A9D869 #69D8CF
square
#9869D8 #D86972 #A9D869 #69D8CF
split-complementary
#9869D8 #D8CF69 #72D869
monochromatic
#5A299E #7738CB #9869D8 #B99AE5 #DBCAF1

Accessibility & contrast

On white

3.93
#9869D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9869D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869D8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869D8#FFFFFF#000000##000000
##9869D81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DC
Deuteranopia (green-blind)
#5080D5
Tritanopia (blue-blind)
#8C7E97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9869d8;
/* rgb */ color: rgb(152, 105, 216);
/* oklch */ color: oklch(61.8% 0.166 301.3);
Tailwind
colors: {
  custom: {
    50: '#b995e4',
    500: '#9869d8',
    950: '#000000',
  },
}
SCSS
$custom: #9869d8;
$custom-light: #b995e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9869d8",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 216
  },
  "hsl": {
    "h": 265.405,
    "s": 58.73,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61839,
    "c": 0.16582,
    "h": 301.3
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#9869D8
secondary
#D1E2BA
accent
#C61F80
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9869D8

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

Preview Lab → · Contrast checker → · Palette generator →

#9869D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva