#9869D6#9869D6

#9869D6 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.163 H 301.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9869D6
RGBrgb(152, 105, 214)
HSLhsl(266, 57%, 63%)
HSVhsv(266, 51%, 84%)
CMYKcmyk(29%, 50.9%, 0%, 16.1%)
CIE-LABlab(53.64, 40.79, -49.36)
CIE-LCHlch(53.64, 64.04, 309.57°)
OKLaboklab(61.72% 0.0859 -0.1389)
OKLCHoklch(61.72% 0.163 301.7)
XYZxyz(30.1353, 21.6335, 66.1934)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869D6 #A7D669
analogous
#6970D6 #9869D6 #CF69D6
triadic
#9869D6 #D69869 #69D698
tetradic
#9869D6 #D66970 #A7D669 #69D6CF
square
#9869D6 #D66970 #A7D669 #69D6CF
split-complementary
#9869D6 #D6CF69 #70D669
monochromatic
#5B2A9A #7739C9 #9869D6 #B999E3 #DAC9F0

Accessibility & contrast

On white

3.94
#9869D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9869D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869D6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869D6#FFFFFF#000000##000000
##9869D61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FDA
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#8C7D96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9869d6;
/* rgb */ color: rgb(152, 105, 214);
/* oklch */ color: oklch(61.7% 0.163 301.7);
Tailwind
colors: {
  custom: {
    50: '#b995e3',
    500: '#9869d6',
    950: '#000000',
  },
}
SCSS
$custom: #9869d6;
$custom-light: #b995e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9869d6",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 214
  },
  "hsl": {
    "h": 265.872,
    "s": 57.068,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61722,
    "c": 0.16335,
    "h": 301.7
  },
  "luminance": 0.21634
}

Semantic roles & 50–950 ramp

primary
#9869D6
secondary
#D0E1BA
accent
#C5217E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869D6

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

Preview Lab → · Contrast checker → · Palette generator →

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