#C87FEC#C87FEC

#C87FEC is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.169 H 313.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C87FEC
RGBrgb(200, 127, 236)
HSLhsl(280, 74%, 71%)
HSVhsv(280, 46%, 93%)
CMYKcmyk(15.3%, 46.2%, 0%, 7.5%)
CIE-LABlab(64.58, 46.80, -44.04)
CIE-LCHlch(64.58, 64.26, 316.74°)
OKLaboklab(71.39% 0.1168 -0.1223)
OKLCHoklch(71.39% 0.169 313.7)
XYZxyz(46.5466, 33.5153, 83.3577)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FEC #A3EC7F
analogous
#917FEC #C87FEC #EC7FDA
triadic
#C87FEC #ECC87F #7FECC8
tetradic
#C87FEC #EC917F #A3EC7F #7FDAEC
square
#C87FEC #EC917F #A3EC7F #7FDAEC
split-complementary
#C87FEC #DAEC7F #7FEC91
monochromatic
#971FD2 #B14AE4 #C87FEC #DFB4F4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.70
#C87FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FEC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FEC#FFFFFF#000000##000000
##C87FEC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#7D9EE9
Tritanopia (blue-blind)
#C58FAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87fec;
/* rgb */ color: rgb(200, 127, 236);
/* oklch */ color: oklch(71.4% 0.169 313.7);
Tailwind
colors: {
  custom: {
    50: '#dba6f2',
    500: '#c87fec',
    950: '#000000',
  },
}
SCSS
$custom: #c87fec;
$custom-light: #dba6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fec",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 280.183,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71388,
    "c": 0.16914,
    "h": 313.7
  },
  "luminance": 0.33514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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