#C87FDF#C87FDF

#C87FDF is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.8% C 0.155 H 317.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C87FDF
RGBrgb(200, 127, 223)
HSLhsl(286, 60%, 69%)
HSVhsv(286, 43%, 87%)
CMYKcmyk(10.3%, 43%, 0%, 12.5%)
CIE-LABlab(63.99, 44.13, -37.75)
CIE-LCHlch(63.99, 58.07, 319.46°)
OKLaboklab(70.76% 0.1147 -0.1042)
OKLCHoklch(70.76% 0.155 317.7)
XYZxyz(44.7262, 32.7872, 73.7702)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FDF #96DF7F
analogous
#987FDF #C87FDF #DF7FC6
triadic
#C87FDF #DFC87F #7FDFC8
tetradic
#C87FDF #DF987F #96DF7F #7FC6DF
square
#C87FDF #DF987F #96DF7F #7FC6DF
split-complementary
#C87FDF #C6DF7F #7FDF98
monochromatic
#952EB6 #B34ED3 #C87FDF #DDB0EB #F2E1F7

Accessibility & contrast

On white

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

On black

7.56
#C87FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FDF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FDF#FFFFFF#000000##000000
##C87FDF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#839DDC
Tritanopia (blue-blind)
#C88CA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87fdf;
/* rgb */ color: rgb(200, 127, 223);
/* oklch */ color: oklch(70.8% 0.155 317.7);
Tailwind
colors: {
  custom: {
    50: '#daa6e9',
    500: '#c87fdf',
    950: '#000000',
  },
}
SCSS
$custom: #c87fdf;
$custom-light: #daa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fdf",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 285.625,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70756,
    "c": 0.15497,
    "h": 317.7
  },
  "luminance": 0.32786
}

Semantic roles & 50–950 ramp

primary
#C87FDF
secondary
#D5EBCF
accent
#C81E47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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