#C87EEF#C87EEF

#C87EEF is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.4% C 0.174 H 312.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C87EEF
RGBrgb(200, 126, 239)
HSLhsl(279, 78%, 72%)
HSVhsv(279, 47%, 94%)
CMYKcmyk(16.3%, 47.3%, 0%, 6.3%)
CIE-LABlab(64.51, 47.96, -45.80)
CIE-LCHlch(64.51, 66.31, 316.32°)
OKLaboklab(71.39% 0.1186 -0.1274)
OKLCHoklch(71.39% 0.174 312.9)
XYZxyz(46.8576, 33.4341, 85.6297)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EEF #A5EF7E
analogous
#907EEF #C87EEF #EF7EDE
triadic
#C87EEF #EFC87E #7EEFC8
tetradic
#C87EEF #EF907E #A5EF7E #7EDEEF
square
#C87EEF #EF907E #A5EF7E #7EDEEF
split-complementary
#C87EEF #DEEF7E #7EEF90
monochromatic
#971BD8 #B148E8 #C87EEF #DFB4F6 #F3E4FC

Accessibility & contrast

On white

2.73
#C87EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C87EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EEF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EEF#FFFFFF#000000##000000
##C87EEF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#C48FAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87eef;
/* rgb */ color: rgb(200, 126, 239);
/* oklch */ color: oklch(71.4% 0.174 312.9);
Tailwind
colors: {
  custom: {
    50: '#dba5f4',
    500: '#c87eef',
    950: '#000000',
  },
}
SCSS
$custom: #c87eef;
$custom-light: #dba5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c87eef",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 279.292,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71385,
    "c": 0.17407,
    "h": 312.9
  },
  "luminance": 0.33433
}

Semantic roles & 50–950 ramp

primary
#C87EEF
secondary
#E0F3D6
accent
#DA0B53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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