#9859DB#9859DB

#9859DB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.193 H 303.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9859DB
RGBrgb(152, 89, 219)
HSLhsl(269, 64%, 60%)
HSVhsv(269, 59%, 86%)
CMYKcmyk(30.6%, 59.4%, 0%, 14.1%)
CIE-LABlab(50.61, 50.67, -57.04)
CIE-LCHlch(50.61, 76.29, 311.61°)
OKLaboklab(59.59% 0.1063 -0.1614)
OKLCHoklch(59.59% 0.193 303.4)
XYZxyz(29.3046, 18.9347, 69.1150)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9859DB #9CDB59
analogous
#595BDB #9859DB #D959DB
triadic
#9859DB #DB9859 #59DB98
tetradic
#9859DB #DB595B #9CDB59 #59DBD9
square
#9859DB #DB595B #9CDB59 #59DBD9
split-complementary
#9859DB #DBD959 #5BDB59
monochromatic
#5B2199 #792CCB #9859DB #B78BE6 #D6BEF1

Accessibility & contrast

On white

4.39
#9859DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9859DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9859DB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9859DB#FFFFFF#000000##000000
##9859DB1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1677DF
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#8B7392
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9859db;
/* rgb */ color: rgb(152, 89, 219);
/* oklch */ color: oklch(59.6% 0.193 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba8be7',
    500: '#9859db',
    950: '#000000',
  },
}
SCSS
$custom: #9859db;
$custom-light: #ba8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9859db",
  "rgb": {
    "r": 152,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 269.077,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.19327,
    "h": 303.4
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#9859DB
secondary
#C9E1AF
accent
#CC1976
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9859DB

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

Preview Lab → · Contrast checker → · Palette generator →

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