#C87EEC#C87EEC

#C87EEC is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.171 H 313.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C87EEC
RGBrgb(200, 126, 236)
HSLhsl(280, 74%, 71%)
HSVhsv(280, 47%, 93%)
CMYKcmyk(15.3%, 46.6%, 0%, 7.5%)
CIE-LABlab(64.37, 47.33, -44.36)
CIE-LCHlch(64.37, 64.87, 316.85°)
OKLaboklab(71.23% 0.1182 -0.1233)
OKLCHoklch(71.23% 0.171 313.8)
XYZxyz(46.4181, 33.2583, 83.3149)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EEC #A2EC7E
analogous
#917EEC #C87EEC #EC7ED9
triadic
#C87EEC #ECC87E #7EECC8
tetradic
#C87EEC #EC917E #A2EC7E #7ED9EC
square
#C87EEC #EC917E #A2EC7E #7ED9EC
split-complementary
#C87EEC #D9EC7E #7EEC91
monochromatic
#971FD1 #B149E4 #C87EEC #DFB3F4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.65
#C87EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EEC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EEC#FFFFFF#000000##000000
##C87EEC1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#C58FAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87eec;
/* rgb */ color: rgb(200, 126, 236);
/* oklch */ color: oklch(71.2% 0.171 313.8);
Tailwind
colors: {
  custom: {
    50: '#dba5f2',
    500: '#c87eec',
    950: '#000000',
  },
}
SCSS
$custom: #c87eec;
$custom-light: #dba5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c87eec",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 280.364,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71234,
    "c": 0.17076,
    "h": 313.8
  },
  "luminance": 0.33257
}

Semantic roles & 50–950 ramp

primary
#C87EEC
secondary
#DEF2D4
accent
#D60F50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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