#C87DF8#C87DF8

#C87DF8 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.7% C 0.186 H 310.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C87DF8
RGBrgb(200, 125, 248)
HSLhsl(277, 90%, 73%)
HSVhsv(277, 50%, 97%)
CMYKcmyk(19.4%, 49.6%, 0%, 2.7%)
CIE-LABlab(64.74, 50.40, -50.39)
CIE-LCHlch(64.74, 71.27, 315.01°)
OKLaboklab(71.7% 0.121 -0.1407)
OKLCHoklch(71.7% 0.186 310.7)
XYZxyz(48.0932, 33.7248, 92.7648)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DF8 #ADF87D
analogous
#8A7DF8 #C87DF8 #F87DEB
triadic
#C87DF8 #F8C87D #7DF8C8
tetradic
#C87DF8 #F88A7D #ADF87D #7DEBF8
square
#C87DF8 #F88A7D #ADF87D #7DEBF8
split-complementary
#C87DF8 #EBF87D #7DF88A
monochromatic
#960DEE #AF43F5 #C87DF8 #E1B7FB #F3E2FD

Accessibility & contrast

On white

2.71
#C87DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C87DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DF8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DF8#FFFFFF#000000##000000
##C87DF81.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#C291AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87df8;
/* rgb */ color: rgb(200, 125, 248);
/* oklch */ color: oklch(71.7% 0.186 310.7);
Tailwind
colors: {
  custom: {
    50: '#dba5fb',
    500: '#c87df8',
    950: '#000000',
  },
}
SCSS
$custom: #c87df8;
$custom-light: #dba5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c87df8",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 276.585,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.717,
    "c": 0.1856,
    "h": 310.7
  },
  "luminance": 0.33724
}

Semantic roles & 50–950 ramp

primary
#C87DF8
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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