#9869CE#9869CE

#9869CE is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.3% C 0.153 H 303.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9869CE
RGBrgb(152, 105, 206)
HSLhsl(268, 51%, 61%)
HSVhsv(268, 49%, 81%)
CMYKcmyk(26.2%, 49%, 0%, 19.2%)
CIE-LABlab(53.21, 38.84, -45.50)
CIE-LCHlch(53.21, 59.83, 310.48°)
OKLaboklab(61.26% 0.0851 -0.1277)
OKLCHoklch(61.26% 0.153 303.7)
XYZxyz(29.1386, 21.2349, 60.9442)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869CE #9FCE69
analogous
#696CCE #9869CE #CB69CE
triadic
#9869CE #CE9869 #69CE98
tetradic
#9869CE #CE696C #9FCE69 #69CECB
square
#9869CE #CE696C #9FCE69 #69CECB
split-complementary
#9869CE #CECB69 #6CCE69
monochromatic
#5B2E8E #793EBC #9869CE #B897DD #D7C5EC

Accessibility & contrast

On white

4.00
#9869CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9869CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869CE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869CE#FFFFFF#000000##000000
##9869CE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#8F7B92
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9869ce;
/* rgb */ color: rgb(152, 105, 206);
/* oklch */ color: oklch(61.3% 0.153 303.7);
Tailwind
colors: {
  custom: {
    50: '#b995dd',
    500: '#9869ce',
    950: '#000000',
  },
}
SCSS
$custom: #9869ce;
$custom-light: #b995dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9869ce",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 206
  },
  "hsl": {
    "h": 267.921,
    "s": 50.754,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.15346,
    "h": 303.7
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#9869CE
secondary
#CBDCB6
accent
#BE2778
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869CE

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

Preview Lab → · Contrast checker → · Palette generator →

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