#C87BF1#C87BF1

#C87BF1 is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.0% C 0.181 H 312.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C87BF1
RGBrgb(200, 123, 241)
HSLhsl(279, 81%, 71%)
HSVhsv(279, 49%, 95%)
CMYKcmyk(17%, 49%, 0%, 5.5%)
CIE-LABlab(64.00, 49.95, -47.71)
CIE-LCHlch(64.00, 69.07, 316.31°)
OKLaboklab(71.03% 0.1229 -0.133)
OKLCHoklch(71.03% 0.181 312.7)
XYZxyz(46.7768, 32.7972, 87.0684)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BF1 #A4F17B
analogous
#8D7BF1 #C87BF1 #F17BDF
triadic
#C87BF1 #F1C87B #7BF1C8
tetradic
#C87BF1 #F18D7B #A4F17B #7BDFF1
square
#C87BF1 #F18D7B #A4F17B #7BDFF1
split-complementary
#C87BF1 #DFF17B #7BF18D
monochromatic
#9717DA #B144EB #C87BF1 #DFB2F7 #F3E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C87BF1#FFFFFF#000000##000000
##C87BF11.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)
#6097F5
Deuteranopia (green-blind)
#769DEE
Tritanopia (blue-blind)
#C48EAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87bf1;
/* rgb */ color: rgb(200, 123, 241);
/* oklch */ color: oklch(71.0% 0.181 312.7);
Tailwind
colors: {
  custom: {
    50: '#dba3f6',
    500: '#c87bf1',
    950: '#000000',
  },
}
SCSS
$custom: #c87bf1;
$custom-light: #dba3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bf1",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 279.153,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71034,
    "c": 0.18105,
    "h": 312.7
  },
  "luminance": 0.32796
}

Semantic roles & 50–950 ramp

primary
#C87BF1
secondary
#DFF3D5
accent
#DD0852
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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