#9877DF#9877DF

#9877DF is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.6% C 0.153 H 296.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9877DF
RGBrgb(152, 119, 223)
HSLhsl(259, 62%, 67%)
HSVhsv(259, 47%, 87%)
CMYKcmyk(31.8%, 46.6%, 0%, 12.5%)
CIE-LABlab(57.27, 35.13, -48.67)
CIE-LCHlch(57.27, 60.02, 305.82°)
OKLaboklab(64.59% 0.0683 -0.1369)
OKLCHoklch(64.59% 0.153 296.5)
XYZxyz(32.8617, 25.1963, 72.9298)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877DF #BEDF77
analogous
#778ADF #9877DF #CC77DF
triadic
#9877DF #DF9877 #77DF98
tetradic
#9877DF #DF778A #BEDF77 #77DFCC
square
#9877DF #DF778A #BEDF77 #77DFCC
split-complementary
#9877DF #DFCC77 #8ADF77
monochromatic
#552AB2 #7245D3 #9877DF #BEA9EB #E3DAF6

Accessibility & contrast

On white

3.48
#9877DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9877DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877DF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877DF#FFFFFF#000000##000000
##9877DF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#5C88DC
Tritanopia (blue-blind)
#888AA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9877df;
/* rgb */ color: rgb(152, 119, 223);
/* oklch */ color: oklch(64.6% 0.153 296.5);
Tailwind
colors: {
  custom: {
    50: '#b99fe9',
    500: '#9877df',
    950: '#000000',
  },
}
SCSS
$custom: #9877df;
$custom-light: #b99fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9877df",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 259.038,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.15301,
    "h": 296.5
  },
  "luminance": 0.25197
}

Semantic roles & 50–950 ramp

primary
#9877DF
secondary
#DFE9C8
accent
#CA1C92
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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