#C87FEE#C87FEE

#C87FEE is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.5% C 0.171 H 313.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#C87FEE
RGBrgb(200, 127, 238)
HSLhsl(279, 77%, 72%)
HSVhsv(279, 47%, 93%)
CMYKcmyk(16%, 46.6%, 0%, 6.7%)
CIE-LABlab(64.67, 47.22, -44.99)
CIE-LCHlch(64.67, 65.23, 316.38°)
OKLaboklab(71.49% 0.1171 -0.1251)
OKLCHoklch(71.49% 0.171 313.1)
XYZxyz(46.8388, 33.6322, 84.8966)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FEE #A5EE7F
analogous
#917FEE #C87FEE #EE7FDD
triadic
#C87FEE #EEC87F #7FEEC8
tetradic
#C87FEE #EE917F #A5EE7F #7FDDEE
square
#C87FEE #EE917F #A5EE7F #7FDDEE
split-complementary
#C87FEE #DDEE7F #7FEE91
monochromatic
#971CD6 #B149E7 #C87FEE #DFB5F5 #F3E4FB

Accessibility & contrast

On white

2.72
#C87FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#C87FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FEE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FEE#FFFFFF#000000##000000
##C87FEE1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#C590AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87fee;
/* rgb */ color: rgb(200, 127, 238);
/* oklch */ color: oklch(71.5% 0.171 313.1);
Tailwind
colors: {
  custom: {
    50: '#dba6f4',
    500: '#c87fee',
    950: '#000000',
  },
}
SCSS
$custom: #c87fee;
$custom-light: #dba6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fee",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 279.459,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71488,
    "c": 0.17135,
    "h": 313.1
  },
  "luminance": 0.33631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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