#9859DC#9859DC

#9859DC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.194 H 303.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9859DC
RGBrgb(152, 89, 220)
HSLhsl(269, 65%, 61%)
HSVhsv(269, 60%, 86%)
CMYKcmyk(30.9%, 59.5%, 0%, 13.7%)
CIE-LABlab(50.67, 50.91, -57.51)
CIE-LCHlch(50.67, 76.80, 311.52°)
OKLaboklab(59.65% 0.1063 -0.1628)
OKLCHoklch(59.65% 0.194 303.1)
XYZxyz(29.4366, 18.9875, 69.8104)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9859DC #9DDC59
analogous
#595BDC #9859DC #D959DC
triadic
#9859DC #DC9859 #59DC98
tetradic
#9859DC #DC595B #9DDC59 #59DCD9
square
#9859DC #DC595B #9DDC59 #59DCD9
split-complementary
#9859DC #DCD959 #5BDC59
monochromatic
#5B209A #792BCD #9859DC #B78CE7 #D7BEF1

Accessibility & contrast

On white

4.38
#9859DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9859DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9859DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9859DC#FFFFFF#000000##000000
##9859DC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#8B7492
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9859dc;
/* rgb */ color: rgb(152, 89, 220);
/* oklch */ color: oklch(59.7% 0.194 303.1);
Tailwind
colors: {
  custom: {
    50: '#ba8be8',
    500: '#9859dc',
    950: '#000000',
  },
}
SCSS
$custom: #9859dc;
$custom-light: #ba8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9859dc",
  "rgb": {
    "r": 152,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 268.855,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.1944,
    "h": 303.1
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#9859DC
secondary
#C9E1AF
accent
#CD1876
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9859DC

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

Preview Lab → · Contrast checker → · Palette generator →

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