#C87FDD#C87FDD

#C87FDD is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.153 H 318.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C87FDD
RGBrgb(200, 127, 221)
HSLhsl(287, 58%, 68%)
HSVhsv(287, 43%, 87%)
CMYKcmyk(9.5%, 42.5%, 0%, 13.3%)
CIE-LABlab(63.90, 43.73, -36.77)
CIE-LCHlch(63.90, 57.13, 319.94°)
OKLaboklab(70.66% 0.1144 -0.1014)
OKLCHoklch(70.66% 0.153 318.4)
XYZxyz(44.4582, 32.6800, 72.3585)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FDD #94DD7F
analogous
#997FDD #C87FDD #DD7FC3
triadic
#C87FDD #DDC87F #7FDDC8
tetradic
#C87FDD #DD997F #94DD7F #7FC3DD
square
#C87FDD #DD997F #94DD7F #7FC3DD
split-complementary
#C87FDD #C3DD7F #7FDD99
monochromatic
#952FB2 #B34FD0 #C87FDD #DDAFEA #F2E0F7

Accessibility & contrast

On white

2.79
#C87FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#C87FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FDD
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FDD#FFFFFF#000000##000000
##C87FDD1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#C88BA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87fdd;
/* rgb */ color: rgb(200, 127, 221);
/* oklch */ color: oklch(70.7% 0.153 318.4);
Tailwind
colors: {
  custom: {
    50: '#daa6e8',
    500: '#c87fdd',
    950: '#000000',
  },
}
SCSS
$custom: #c87fdd;
$custom-light: #daa6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fdd",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 286.596,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70662,
    "c": 0.15283,
    "h": 318.4
  },
  "luminance": 0.32679
}

Semantic roles & 50–950 ramp

primary
#C87FDD
secondary
#D4EACE
accent
#C62045
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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