#9859CB#9859CB

#9859CB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.6% C 0.175 H 307.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9859CB
RGBrgb(152, 89, 203)
HSLhsl(273, 52%, 57%)
HSVhsv(273, 56%, 80%)
CMYKcmyk(25.1%, 56.2%, 0%, 20.4%)
CIE-LABlab(49.66, 46.89, -49.44)
CIE-LCHlch(49.66, 68.14, 313.49°)
OKLaboklab(58.58% 0.1062 -0.1391)
OKLCHoklch(58.58% 0.175 307.4)
XYZxyz(27.2986, 18.1323, 58.5501)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9859CB #8CCB59
analogous
#5F59CB #9859CB #CB59C5
triadic
#9859CB #CB9859 #59CB98
tetradic
#9859CB #CB5F59 #8CCB59 #59C5CB
square
#9859CB #CB5F59 #8CCB59 #59C5CB
split-complementary
#9859CB #C5CB59 #59CB5F
monochromatic
#592881 #7A37B0 #9859CB #B588DA #D2B6E8

Accessibility & contrast

On white

4.54
#9859CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9859CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9859CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9859CB#FFFFFF#000000##000000
##9859CB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#906E89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9859cb;
/* rgb */ color: rgb(152, 89, 203);
/* oklch */ color: oklch(58.6% 0.175 307.4);
Tailwind
colors: {
  custom: {
    50: '#b98adb',
    500: '#9859cb',
    950: '#000000',
  },
}
SCSS
$custom: #9859cb;
$custom-light: #b98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9859cb",
  "rgb": {
    "r": 152,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 273.158,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.17502,
    "h": 307.4
  },
  "luminance": 0.18132
}

Semantic roles & 50–950 ramp

primary
#9859CB
secondary
#BDD7A9
accent
#DC4C8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9859CB

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

Preview Lab → · Contrast checker → · Palette generator →

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