#9856DF#9856DF

#9856DF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.202 H 302.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9856DF
RGBrgb(152, 86, 223)
HSLhsl(269, 68%, 61%)
HSVhsv(269, 61%, 87%)
CMYKcmyk(31.8%, 61.4%, 0%, 12.5%)
CIE-LABlab(50.29, 53.17, -59.83)
CIE-LCHlch(50.29, 80.04, 311.63°)
OKLaboklab(59.43% 0.1097 -0.1696)
OKLCHoklch(59.43% 0.202 302.9)
XYZxyz(29.5929, 18.6587, 71.8402)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9856DF #9DDF56
analogous
#5658DF #9856DF #DC56DF
triadic
#9856DF #DF9856 #56DF98
tetradic
#9856DF #DF5658 #9DDF56 #56DFDC
square
#9856DF #DF5658 #9DDF56 #56DFDC
split-complementary
#9856DF #DFDC56 #58DF56
monochromatic
#5B1E9D #7927D0 #9856DF #B789E9 #D7BDF2

Accessibility & contrast

On white

4.44
#9856DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9856DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9856DF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9856DF#FFFFFF#000000##000000
##9856DF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#8A7393
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9856df;
/* rgb */ color: rgb(152, 86, 223);
/* oklch */ color: oklch(59.4% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#bb89ea',
    500: '#9856df',
    950: '#000000',
  },
}
SCSS
$custom: #9856df;
$custom-light: #bb89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9856df",
  "rgb": {
    "r": 152,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 268.905,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.20198,
    "h": 302.9
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#9856DF
secondary
#C9E2AE
accent
#D01576
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9856DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9856DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva