#C87FDE#C87FDE

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

Color values

HEX#C87FDE
RGBrgb(200, 127, 222)
HSLhsl(286, 59%, 68%)
HSVhsv(286, 43%, 87%)
CMYKcmyk(9.9%, 42.8%, 0%, 12.9%)
CIE-LABlab(63.94, 43.93, -37.26)
CIE-LCHlch(63.94, 57.60, 319.70°)
OKLaboklab(70.71% 0.1145 -0.1028)
OKLCHoklch(70.71% 0.154 318.1)
XYZxyz(44.5918, 32.7334, 73.0623)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FDE #95DE7F
analogous
#987FDE #C87FDE #DE7FC4
triadic
#C87FDE #DEC87F #7FDEC8
tetradic
#C87FDE #DE987F #95DE7F #7FC4DE
square
#C87FDE #DE987F #95DE7F #7FC4DE
split-complementary
#C87FDE #C4DE7F #7FDE98
monochromatic
#952EB4 #B34ED1 #C87FDE #DDB0EB #F2E0F7

Accessibility & contrast

On white

2.78
#C87FDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C87FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FDE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FDE#FFFFFF#000000##000000
##C87FDE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E1
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#C88BA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87fde;
/* rgb */ color: rgb(200, 127, 222);
/* oklch */ color: oklch(70.7% 0.154 318.1);
Tailwind
colors: {
  custom: {
    50: '#daa6e8',
    500: '#c87fde',
    950: '#000000',
  },
}
SCSS
$custom: #c87fde;
$custom-light: #daa6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fde",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 286.105,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.1539,
    "h": 318.1
  },
  "luminance": 0.32732
}

Semantic roles & 50–950 ramp

primary
#C87FDE
secondary
#D5EBCE
accent
#C71F46
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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