#C87BEA#C87BEA

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

Color values

HEX#C87BEA
RGBrgb(200, 123, 234)
HSLhsl(282, 73%, 70%)
HSVhsv(282, 47%, 92%)
CMYKcmyk(14.5%, 47.4%, 0%, 8.2%)
CIE-LABlab(63.66, 48.49, -44.37)
CIE-LCHlch(63.66, 65.72, 317.54°)
OKLaboklab(70.68% 0.122 -0.1233)
OKLCHoklch(70.68% 0.173 314.7)
XYZxyz(45.7513, 32.3870, 81.6672)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BEA #9DEA7B
analogous
#917BEA #C87BEA #EA7BD4
triadic
#C87BEA #EAC87B #7BEAC8
tetradic
#C87BEA #EA917B #9DEA7B #7BD4EA
square
#C87BEA #EA917B #9DEA7B #7BD4EA
split-complementary
#C87BEA #D4EA7B #7BEA91
monochromatic
#9620CA #B246E2 #C87BEA #DEB0F2 #F4E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C87BEA#FFFFFF#000000##000000
##C87BEA1.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)
#6496EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#C68CA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c87bea;
/* rgb */ color: rgb(200, 123, 234);
/* oklch */ color: oklch(70.7% 0.173 314.7);
Tailwind
colors: {
  custom: {
    50: '#dba3f1',
    500: '#c87bea',
    950: '#000000',
  },
}
SCSS
$custom: #c87bea;
$custom-light: #dba3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bea",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 281.622,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.70676,
    "c": 0.17346,
    "h": 314.7
  },
  "luminance": 0.32386
}

Semantic roles & 50–950 ramp

primary
#C87BEA
secondary
#DAF0D1
accent
#D5114D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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