#C87BFD#C87BFD

#C87BFD is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.7% C 0.194 H 309.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C87BFD
RGBrgb(200, 123, 253)
HSLhsl(276, 97%, 74%)
HSVhsv(276, 51%, 99%)
CMYKcmyk(20.9%, 51.4%, 0%, 0.8%)
CIE-LABlab(64.59, 52.51, -53.37)
CIE-LCHlch(64.59, 74.87, 314.54°)
OKLaboklab(71.67% 0.1241 -0.1494)
OKLCHoklch(71.67% 0.194 309.7)
XYZxyz(48.6286, 33.5379, 96.8212)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BFD #B0FD7B
analogous
#877BFD #C87BFD #FD7BF1
triadic
#C87BFD #FDC87B #7BFDC8
tetradic
#C87BFD #FD877B #B0FD7B #7BF1FD
square
#C87BFD #FD877B #B0FD7B #7BF1FD
split-complementary
#C87BFD #F1FD7B #7BFD87
monochromatic
#9604FA #AF3FFC #C87BFD #E1B7FE #F2E1FF

Accessibility & contrast

On white

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

On black

7.71
#C87BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BFD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BFD#FFFFFF#000000##000000
##C87BFD1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#C191B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87bfd;
/* rgb */ color: rgb(200, 123, 253);
/* oklch */ color: oklch(71.7% 0.194 309.7);
Tailwind
colors: {
  custom: {
    50: '#dba3fe',
    500: '#c87bfd',
    950: '#000000',
  },
}
SCSS
$custom: #c87bfd;
$custom-light: #dba3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bfd",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 275.538,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71671,
    "c": 0.19422,
    "h": 309.7
  },
  "luminance": 0.33537
}

Semantic roles & 50–950 ramp

primary
#C87BFD
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C87BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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