#C87DEB#C87DEB

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

Color values

HEX#C87DEB
RGBrgb(200, 125, 235)
HSLhsl(281, 73%, 71%)
HSVhsv(281, 47%, 92%)
CMYKcmyk(14.9%, 46.8%, 0%, 7.8%)
CIE-LABlab(64.12, 47.65, -44.21)
CIE-LCHlch(64.12, 64.99, 317.15°)
OKLaboklab(71.03% 0.1194 -0.1228)
OKLCHoklch(71.03% 0.171 314.2)
XYZxyz(46.1460, 32.9459, 82.5095)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DEB #A0EB7D
analogous
#917DEB #C87DEB #EB7DD7
triadic
#C87DEB #EBC87D #7DEBC8
tetradic
#C87DEB #EB917D #A0EB7D #7DD7EB
square
#C87DEB #EB917D #A0EB7D #7DD7EB
split-complementary
#C87DEB #D7EB7D #7DEB91
monochromatic
#9620CE #B248E3 #C87DEB #DEB2F3 #F4E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C87DEB#FFFFFF#000000##000000
##C87DEB1.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)
#6697EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#C58DA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87deb;
/* rgb */ color: rgb(200, 125, 235);
/* oklch */ color: oklch(71.0% 0.171 314.2);
Tailwind
colors: {
  custom: {
    50: '#dba4f2',
    500: '#c87deb',
    950: '#000000',
  },
}
SCSS
$custom: #c87deb;
$custom-light: #dba4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c87deb",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 280.909,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7103,
    "c": 0.1713,
    "h": 314.2
  },
  "luminance": 0.32945
}

Semantic roles & 50–950 ramp

primary
#C87DEB
secondary
#DCF1D3
accent
#D5104F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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