#C87FDB#C87FDB

#C87FDB is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.151 H 319.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C87FDB
RGBrgb(200, 127, 219)
HSLhsl(288, 56%, 68%)
HSVhsv(288, 42%, 86%)
CMYKcmyk(8.7%, 42%, 0%, 14.1%)
CIE-LABlab(63.81, 43.33, -35.79)
CIE-LCHlch(63.81, 56.20, 320.44°)
OKLaboklab(70.57% 0.114 -0.0986)
OKLCHoklch(70.57% 0.151 319.1)
XYZxyz(44.1933, 32.5740, 70.9635)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FDB #92DB7F
analogous
#9A7FDB #C87FDB #DB7FC0
triadic
#C87FDB #DBC87F #7FDBC8
tetradic
#C87FDB #DB9A7F #92DB7F #7FC0DB
square
#C87FDB #DB9A7F #92DB7F #7FC0DB
split-complementary
#C87FDB #C0DB7F #7FDB9A
monochromatic
#9531AF #B34FCE #C87FDB #DDAFE8 #F1DFF6

Accessibility & contrast

On white

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

On black

7.51
#C87FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FDB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FDB#FFFFFF#000000##000000
##C87FDB1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DE
Deuteranopia (green-blind)
#859DD8
Tritanopia (blue-blind)
#C98BA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87fdb;
/* rgb */ color: rgb(200, 127, 219);
/* oklch */ color: oklch(70.6% 0.151 319.1);
Tailwind
colors: {
  custom: {
    50: '#daa6e6',
    500: '#c87fdb',
    950: '#000000',
  },
}
SCSS
$custom: #c87fdb;
$custom-light: #daa6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fdb",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 287.609,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70569,
    "c": 0.15069,
    "h": 319.1
  },
  "luminance": 0.32573
}

Semantic roles & 50–950 ramp

primary
#C87FDB
secondary
#D3E9CD
accent
#C42243
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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