#C87DF6#C87DF6

#C87DF6 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.6% C 0.183 H 311.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C87DF6
RGBrgb(200, 125, 246)
HSLhsl(277, 87%, 73%)
HSVhsv(277, 49%, 96%)
CMYKcmyk(18.7%, 49.2%, 0%, 3.5%)
CIE-LABlab(64.64, 49.97, -49.44)
CIE-LCHlch(64.64, 70.30, 315.30°)
OKLaboklab(71.6% 0.1208 -0.138)
OKLCHoklch(71.6% 0.183 311.2)
XYZxyz(47.7846, 33.6013, 91.1394)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DF6 #ABF67D
analogous
#8B7DF6 #C87DF6 #F67DE7
triadic
#C87DF6 #F6C87D #7DF6C8
tetradic
#C87DF6 #F68B7D #ABF67D #7DE7F6
square
#C87DF6 #F68B7D #ABF67D #7DE7F6
split-complementary
#C87DF6 #E7F67D #7DF68B
monochromatic
#9610E9 #B044F2 #C87DF6 #E0B6FA #F3E2FD

Accessibility & contrast

On white

2.72
#C87DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#C87DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DF6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DF6#FFFFFF#000000##000000
##C87DF61.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#C391AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87df6;
/* rgb */ color: rgb(200, 125, 246);
/* oklch */ color: oklch(71.6% 0.183 311.2);
Tailwind
colors: {
  custom: {
    50: '#dba5f9',
    500: '#c87df6',
    950: '#000000',
  },
}
SCSS
$custom: #c87df6;
$custom-light: #dba5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c87df6",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 277.19,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71595,
    "c": 0.18338,
    "h": 311.2
  },
  "luminance": 0.336
}

Semantic roles & 50–950 ramp

primary
#C87DF6
secondary
#E2F5D6
accent
#E40258
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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