#C87FDA#C87FDA

#C87FDA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.5% C 0.150 H 319.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#C87FDA
RGBrgb(200, 127, 218)
HSLhsl(288, 55%, 68%)
HSVhsv(288, 42%, 85%)
CMYKcmyk(8.3%, 41.7%, 0%, 14.5%)
CIE-LABlab(63.77, 43.13, -35.30)
CIE-LCHlch(63.77, 55.73, 320.70°)
OKLaboklab(70.52% 0.1138 -0.0972)
OKLCHoklch(70.52% 0.15 319.5)
XYZxyz(44.0620, 32.5215, 70.2723)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FDA #91DA7F
analogous
#9A7FDA #C87FDA #DA7FBE
triadic
#C87FDA #DAC87F #7FDAC8
tetradic
#C87FDA #DA9A7F #91DA7F #7FBEDA
square
#C87FDA #DA9A7F #91DA7F #7FBEDA
split-complementary
#C87FDA #BEDA7F #7FDA9A
monochromatic
#9432AD #B450CC #C87FDA #DCAEE8 #F1DEF5

Accessibility & contrast

On white

2.80
#C87FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#C87FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FDA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FDA#FFFFFF#000000##000000
##C87FDA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7295DD
Deuteranopia (green-blind)
#859DD7
Tritanopia (blue-blind)
#C98AA2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c87fda;
/* rgb */ color: rgb(200, 127, 218);
/* oklch */ color: oklch(70.5% 0.150 319.5);
Tailwind
colors: {
  custom: {
    50: '#daa6e5',
    500: '#c87fda',
    950: '#000000',
  },
}
SCSS
$custom: #c87fda;
$custom-light: #daa6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fda",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 288.132,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.14963,
    "h": 319.5
  },
  "luminance": 0.3252
}

Semantic roles & 50–950 ramp

primary
#C87FDA
secondary
#D2E9CC
accent
#C32342
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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