#C87DFD#C87DFD

#C87DFD is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.191 H 309.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#C87DFD
RGBrgb(200, 125, 253)
HSLhsl(275, 97%, 74%)
HSVhsv(275, 51%, 99%)
CMYKcmyk(20.9%, 50.6%, 0%, 0.8%)
CIE-LABlab(64.99, 51.48, -52.73)
CIE-LCHlch(64.99, 73.70, 314.31°)
OKLaboklab(71.97% 0.1215 -0.1476)
OKLCHoklch(71.97% 0.191 309.5)
XYZxyz(48.8793, 34.0392, 96.9047)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DFD #B2FD7D
analogous
#887DFD #C87DFD #FD7DF2
triadic
#C87DFD #FDC87D #7DFDC8
tetradic
#C87DFD #FD887D #B2FD7D #7DF2FD
square
#C87DFD #FD887D #B2FD7D #7DF2FD
split-complementary
#C87DFD #F2FD7D #7DFD88
monochromatic
#9504FB #AF41FC #C87DFD #E2B9FE #F2E1FF

Accessibility & contrast

On white

2.69
#C87DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#C87DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DFD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DFD#FFFFFF#000000##000000
##C87DFD1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#C193B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87dfd;
/* rgb */ color: rgb(200, 125, 253);
/* oklch */ color: oklch(72.0% 0.191 309.5);
Tailwind
colors: {
  custom: {
    50: '#dba5fe',
    500: '#c87dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c87dfd;
$custom-light: #dba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c87dfd",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 275.156,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71967,
    "c": 0.19114,
    "h": 309.5
  },
  "luminance": 0.34038
}

Semantic roles & 50–950 ramp

primary
#C87DFD
secondary
#E3F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C87DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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