#9869CB#9869CB

#9869CB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.1% C 0.150 H 304.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9869CB
RGBrgb(152, 105, 203)
HSLhsl(269, 49%, 60%)
HSVhsv(269, 48%, 80%)
CMYKcmyk(25.1%, 48.3%, 0%, 20.4%)
CIE-LABlab(53.05, 38.12, -44.04)
CIE-LCHlch(53.05, 58.25, 310.88°)
OKLaboklab(61.09% 0.0848 -0.1234)
OKLCHoklch(61.09% 0.15 304.5)
XYZxyz(28.7777, 21.0905, 59.0431)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869CB #9CCB69
analogous
#696BCB #9869CB #C969CB
triadic
#9869CB #CB9869 #69CB98
tetradic
#9869CB #CB696B #9CCB69 #69CBC9
square
#9869CB #CB696B #9CCB69 #69CBC9
split-complementary
#9869CB #CBC969 #6BCB69
monochromatic
#5B308A #7940B7 #9869CB #B796DB #D6C4EB

Accessibility & contrast

On white

4.02
#9869CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9869CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869CB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869CB#FFFFFF#000000##000000
##9869CB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#8F7A90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9869cb;
/* rgb */ color: rgb(152, 105, 203);
/* oklch */ color: oklch(61.1% 0.150 304.5);
Tailwind
colors: {
  custom: {
    50: '#b895db',
    500: '#9869cb',
    950: '#000000',
  },
}
SCSS
$custom: #9869cb;
$custom-light: #b895db;
$custom-dark: #000000;
JSON
{
  "hex": "#9869cb",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 203
  },
  "hsl": {
    "h": 268.776,
    "s": 48.515,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61093,
    "c": 0.14974,
    "h": 304.5
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#9869CB
secondary
#C9DBB5
accent
#BC2A76
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869CB

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

Preview Lab → · Contrast checker → · Palette generator →

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