#C87CFD#C87CFD

#C87CFD is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.193 H 309.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C87CFD
RGBrgb(200, 124, 253)
HSLhsl(275, 97%, 74%)
HSVhsv(275, 51%, 99%)
CMYKcmyk(20.9%, 51%, 0%, 0.8%)
CIE-LABlab(64.79, 52.00, -53.05)
CIE-LCHlch(64.79, 74.28, 314.42°)
OKLaboklab(71.82% 0.1228 -0.1485)
OKLCHoklch(71.82% 0.193 309.6)
XYZxyz(48.7533, 33.7873, 96.8628)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87CFD #B1FD7C
analogous
#887CFD #C87CFD #FD7CF1
triadic
#C87CFD #FDC87C #7CFDC8
tetradic
#C87CFD #FD887C #B1FD7C #7CF1FD
square
#C87CFD #FD887C #B1FD7C #7CF1FD
split-complementary
#C87CFD #F1FD7C #7CFD88
monochromatic
#9504FB #AF40FC #C87CFD #E1B8FE #F2E1FF

Accessibility & contrast

On white

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

On black

7.76
#C87CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87CFD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87CFD#FFFFFF#000000##000000
##C87CFD1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#709EFA
Tritanopia (blue-blind)
#C192B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87cfd;
/* rgb */ color: rgb(200, 124, 253);
/* oklch */ color: oklch(71.8% 0.193 309.6);
Tailwind
colors: {
  custom: {
    50: '#dba4fe',
    500: '#c87cfd',
    950: '#000000',
  },
}
SCSS
$custom: #c87cfd;
$custom-light: #dba4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c87cfd",
  "rgb": {
    "r": 200,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 275.349,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.19268,
    "h": 309.6
  },
  "luminance": 0.33787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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