#C87EDD#C87EDD

#C87EDD is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.5% C 0.155 H 318.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#C87EDD
RGBrgb(200, 126, 221)
HSLhsl(287, 58%, 68%)
HSVhsv(287, 43%, 87%)
CMYKcmyk(9.5%, 43%, 0%, 13.3%)
CIE-LABlab(63.69, 44.26, -37.10)
CIE-LCHlch(63.69, 57.75, 320.03°)
OKLaboklab(70.51% 0.1158 -0.1023)
OKLCHoklch(70.51% 0.155 318.5)
XYZxyz(44.3297, 32.4229, 72.3157)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EDD #93DD7E
analogous
#987EDD #C87EDD #DD7EC2
triadic
#C87EDD #DDC87E #7EDDC8
tetradic
#C87EDD #DD987E #93DD7E #7EC2DD
square
#C87EDD #DD987E #93DD7E #7EC2DD
split-complementary
#C87EDD #C2DD7E #7EDD98
monochromatic
#952FB2 #B34ED0 #C87EDD #DDAEEA #F1DFF7

Accessibility & contrast

On white

2.81
#C87EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#C87EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EDD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EDD#FFFFFF#000000##000000
##C87EDD1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95E0
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#C88AA3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c87edd;
/* rgb */ color: rgb(200, 126, 221);
/* oklch */ color: oklch(70.5% 0.155 318.5);
Tailwind
colors: {
  custom: {
    50: '#daa5e8',
    500: '#c87edd',
    950: '#000000',
  },
}
SCSS
$custom: #c87edd;
$custom-light: #daa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c87edd",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 286.737,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70505,
    "c": 0.15452,
    "h": 318.5
  },
  "luminance": 0.32422
}

Semantic roles & 50–950 ramp

primary
#C87EDD
secondary
#D3EACD
accent
#C62044
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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