#C87DF9#C87DF9

#C87DF9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.187 H 310.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C87DF9
RGBrgb(200, 125, 249)
HSLhsl(276, 91%, 73%)
HSVhsv(276, 50%, 98%)
CMYKcmyk(19.7%, 49.8%, 0%, 2.4%)
CIE-LABlab(64.79, 50.61, -50.86)
CIE-LCHlch(64.79, 71.75, 314.86°)
OKLaboklab(71.75% 0.1211 -0.1421)
OKLCHoklch(71.75% 0.187 310.4)
XYZxyz(48.2488, 33.7870, 93.5840)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DF9 #AEF97D
analogous
#8A7DF9 #C87DF9 #F97DEC
triadic
#C87DF9 #F9C87D #7DF9C8
tetradic
#C87DF9 #F98A7D #AEF97D #7DECF9
square
#C87DF9 #F98A7D #AEF97D #7DECF9
split-complementary
#C87DF9 #ECF97D #7DF98A
monochromatic
#960BF0 #AF42F6 #C87DF9 #E1B7FC #F3E2FE

Accessibility & contrast

On white

2.71
#C87DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C87DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DF9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DF9#FFFFFF#000000##000000
##C87DF91.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#739FF6
Tritanopia (blue-blind)
#C292B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87df9;
/* rgb */ color: rgb(200, 125, 249);
/* oklch */ color: oklch(71.8% 0.187 310.4);
Tailwind
colors: {
  custom: {
    50: '#dba5fc',
    500: '#c87df9',
    950: '#000000',
  },
}
SCSS
$custom: #c87df9;
$custom-light: #dba5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c87df9",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 276.29,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71753,
    "c": 0.18671,
    "h": 310.4
  },
  "luminance": 0.33786
}

Semantic roles & 50–950 ramp

primary
#C87DF9
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87DF9

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

Preview Lab → · Contrast checker → · Palette generator →

#C87DF9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva