#C87DFE#C87DFE

#C87DFE is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.192 H 309.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#C87DFE
RGBrgb(200, 125, 254)
HSLhsl(275, 98%, 74%)
HSVhsv(275, 51%, 100%)
CMYKcmyk(21.3%, 50.8%, 0%, 0.4%)
CIE-LABlab(65.04, 51.70, -53.20)
CIE-LCHlch(65.04, 74.18, 314.18°)
OKLaboklab(72.02% 0.1215 -0.149)
OKLCHoklch(72.02% 0.192 309.2)
XYZxyz(49.0390, 34.1031, 97.7459)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DFE #B3FE7D
analogous
#887DFE #C87DFE #FE7DF3
triadic
#C87DFE #FEC87D #7DFEC8
tetradic
#C87DFE #FE887D #B3FE7D #7DF3FE
square
#C87DFE #FE887D #B3FE7D #7DF3FE
split-complementary
#C87DFE #F3FE7D #7DFE88
monochromatic
#9504FD #AE40FE #C87DFE #E2BAFE #F2E1FF

Accessibility & contrast

On white

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

On black

7.82
#C87DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DFE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DFE#FFFFFF#000000##000000
##C87DFE1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#C193B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87dfe;
/* rgb */ color: rgb(200, 125, 254);
/* oklch */ color: oklch(72.0% 0.192 309.2);
Tailwind
colors: {
  custom: {
    50: '#dba5ff',
    500: '#c87dfe',
    950: '#000000',
  },
}
SCSS
$custom: #c87dfe;
$custom-light: #dba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c87dfe",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 274.884,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72021,
    "c": 0.19225,
    "h": 309.2
  },
  "luminance": 0.34102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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