#9857DF#9857DF

#9857DF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.201 H 302.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9857DF
RGBrgb(152, 87, 223)
HSLhsl(269, 68%, 61%)
HSVhsv(269, 61%, 87%)
CMYKcmyk(31.8%, 61%, 0%, 12.5%)
CIE-LABlab(50.48, 52.66, -59.52)
CIE-LCHlch(50.48, 79.47, 311.50°)
OKLaboklab(59.57% 0.1086 -0.1687)
OKLCHoklch(59.57% 0.201 302.8)
XYZxyz(29.6733, 18.8195, 71.8670)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857DF #9EDF57
analogous
#575ADF #9857DF #DC57DF
triadic
#9857DF #DF9857 #57DF98
tetradic
#9857DF #DF575A #9EDF57 #57DFDC
square
#9857DF #DF575A #9EDF57 #57DFDC
split-complementary
#9857DF #DFDC57 #5ADF57
monochromatic
#5B1E9E #7928D1 #9857DF #B88AE9 #D7BEF3

Accessibility & contrast

On white

4.41
#9857DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9857DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857DF#FFFFFF#000000##000000
##9857DF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#3078DC
Tritanopia (blue-blind)
#8A7393
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9857df;
/* rgb */ color: rgb(152, 87, 223);
/* oklch */ color: oklch(59.6% 0.201 302.8);
Tailwind
colors: {
  custom: {
    50: '#bb89ea',
    500: '#9857df',
    950: '#000000',
  },
}
SCSS
$custom: #9857df;
$custom-light: #bb89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9857df",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 268.676,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.20061,
    "h": 302.8
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#9857DF
secondary
#CAE3AF
accent
#D01677
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9857DF

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

Preview Lab → · Contrast checker → · Palette generator →

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