#C87EE7#C87EE7

#C87EE7 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.0% C 0.165 H 315.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#C87EE7
RGBrgb(200, 126, 231)
HSLhsl(282, 69%, 70%)
HSVhsv(282, 45%, 91%)
CMYKcmyk(13.4%, 45.5%, 0%, 9.4%)
CIE-LABlab(64.14, 46.29, -41.96)
CIE-LCHlch(64.14, 62.48, 317.81°)
OKLaboklab(70.99% 0.1174 -0.1163)
OKLCHoklch(70.99% 0.165 315.3)
XYZxyz(45.7018, 32.9718, 79.5425)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EE7 #9DE77E
analogous
#947EE7 #C87EE7 #E77ED1
triadic
#C87EE7 #E7C87E #7EE7C8
tetradic
#C87EE7 #E7947E #9DE77E #7ED1E7
square
#C87EE7 #E7947E #9DE77E #7ED1E7
split-complementary
#C87EE7 #D1E77E #7EE794
monochromatic
#9625C6 #B24ADD #C87EE7 #DEB2F1 #F4E5FA

Accessibility & contrast

On white

2.77
#C87EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#C87EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EE7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EE7#FFFFFF#000000##000000
##C87EE71.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EB
Deuteranopia (green-blind)
#7E9EE4
Tritanopia (blue-blind)
#C68DA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87ee7;
/* rgb */ color: rgb(200, 126, 231);
/* oklch */ color: oklch(71.0% 0.165 315.3);
Tailwind
colors: {
  custom: {
    50: '#daa5ef',
    500: '#c87ee7',
    950: '#000000',
  },
}
SCSS
$custom: #c87ee7;
$custom-light: #daa5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ee7",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 282.286,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.70986,
    "c": 0.1653,
    "h": 315.3
  },
  "luminance": 0.32971
}

Semantic roles & 50–950 ramp

primary
#C87EE7
secondary
#DAEFD2
accent
#D1154C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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