#C87EEE#C87EEE

#C87EEE is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.3% C 0.173 H 313.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#C87EEE
RGBrgb(200, 126, 238)
HSLhsl(280, 77%, 71%)
HSVhsv(280, 47%, 93%)
CMYKcmyk(16%, 47.1%, 0%, 6.7%)
CIE-LABlab(64.46, 47.75, -45.32)
CIE-LCHlch(64.46, 65.83, 316.50°)
OKLaboklab(71.33% 0.1185 -0.126)
OKLCHoklch(71.33% 0.173 313.2)
XYZxyz(46.7103, 33.3752, 84.8538)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EEE #A4EE7E
analogous
#907EEE #C87EEE #EE7EDC
triadic
#C87EEE #EEC87E #7EEEC8
tetradic
#C87EEE #EE907E #A4EE7E #7EDCEE
square
#C87EEE #EE907E #A4EE7E #7EDCEE
split-complementary
#C87EEE #DCEE7E #7EEE90
monochromatic
#971CD5 #B148E7 #C87EEE #DFB4F5 #F3E4FB

Accessibility & contrast

On white

2.74
#C87EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#C87EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EEE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EEE#FFFFFF#000000##000000
##C87EEE1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#7B9EEB
Tritanopia (blue-blind)
#C58FAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87eee;
/* rgb */ color: rgb(200, 126, 238);
/* oklch */ color: oklch(71.3% 0.173 313.2);
Tailwind
colors: {
  custom: {
    50: '#dba5f4',
    500: '#c87eee',
    950: '#000000',
  },
}
SCSS
$custom: #c87eee;
$custom-light: #dba5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c87eee",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 279.643,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71334,
    "c": 0.17296,
    "h": 313.2
  },
  "luminance": 0.33374
}

Semantic roles & 50–950 ramp

primary
#C87EEE
secondary
#DFF2D5
accent
#D90D52
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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