#C87EEA#C87EEA

#C87EEA is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.169 H 314.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#C87EEA
RGBrgb(200, 126, 234)
HSLhsl(281, 72%, 71%)
HSVhsv(281, 46%, 92%)
CMYKcmyk(14.5%, 46.2%, 0%, 8.2%)
CIE-LABlab(64.28, 46.91, -43.40)
CIE-LCHlch(64.28, 63.91, 317.23°)
OKLaboklab(71.13% 0.1179 -0.1205)
OKLCHoklch(71.13% 0.169 314.4)
XYZxyz(46.1292, 33.1427, 81.7931)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EEA #A0EA7E
analogous
#927EEA #C87EEA #EA7ED6
triadic
#C87EEA #EAC87E #7EEAC8
tetradic
#C87EEA #EA927E #A0EA7E #7ED6EA
square
#C87EEA #EA927E #A0EA7E #7ED6EA
split-complementary
#C87EEA #D6EA7E #7EEA92
monochromatic
#9621CC #B249E1 #C87EEA #DEB3F3 #F4E5FB

Accessibility & contrast

On white

2.75
#C87EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#C87EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EEA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EEA#FFFFFF#000000##000000
##C87EEA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#C68EA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87eea;
/* rgb */ color: rgb(200, 126, 234);
/* oklch */ color: oklch(71.1% 0.169 314.4);
Tailwind
colors: {
  custom: {
    50: '#daa5f1',
    500: '#c87eea',
    950: '#000000',
  },
}
SCSS
$custom: #c87eea;
$custom-light: #daa5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c87eea",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 281.111,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71134,
    "c": 0.16858,
    "h": 314.4
  },
  "luminance": 0.33142
}

Semantic roles & 50–950 ramp

primary
#C87EEA
secondary
#DCF1D3
accent
#D4114F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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