#C87EFD#C87EFD

#C87EFD is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.190 H 309.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#C87EFD
RGBrgb(200, 126, 253)
HSLhsl(275, 97%, 74%)
HSVhsv(275, 50%, 99%)
CMYKcmyk(20.9%, 50.2%, 0%, 0.8%)
CIE-LABlab(65.19, 50.96, -52.42)
CIE-LCHlch(65.19, 73.10, 314.19°)
OKLaboklab(72.12% 0.1202 -0.1467)
OKLCHoklch(72.12% 0.19 309.3)
XYZxyz(49.0065, 34.2937, 96.9471)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EFD #B3FD7E
analogous
#897EFD #C87EFD #FD7EF2
triadic
#C87EFD #FDC87E #7EFDC8
tetradic
#C87EFD #FD897E #B3FD7E #7EF2FD
square
#C87EFD #FD897E #B3FD7E #7EF2FD
split-complementary
#C87EFD #F2FD7E #7EFD89
monochromatic
#9505FB #AE42FC #C87EFD #E2BAFE #F2E1FF

Accessibility & contrast

On white

2.67
#C87EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#C87EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EFD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EFD#FFFFFF#000000##000000
##C87EFD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#729FFA
Tritanopia (blue-blind)
#C193B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87efd;
/* rgb */ color: rgb(200, 126, 253);
/* oklch */ color: oklch(72.1% 0.190 309.3);
Tailwind
colors: {
  custom: {
    50: '#dba5fe',
    500: '#c87efd',
    950: '#000000',
  },
}
SCSS
$custom: #c87efd;
$custom-light: #dba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c87efd",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 274.961,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72116,
    "c": 0.1896,
    "h": 309.3
  },
  "luminance": 0.34293
}

Semantic roles & 50–950 ramp

primary
#C87EFD
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C87EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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