#C87EFA#C87EFA

#C87EFA is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.186 H 310.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#C87EFA
RGBrgb(200, 126, 250)
HSLhsl(276, 93%, 74%)
HSVhsv(276, 50%, 98%)
CMYKcmyk(20%, 49.6%, 0%, 2%)
CIE-LABlab(65.05, 50.31, -51.01)
CIE-LCHlch(65.05, 71.64, 314.60°)
OKLaboklab(71.96% 0.1199 -0.1426)
OKLCHoklch(71.96% 0.186 310.1)
XYZxyz(48.5324, 34.1040, 94.4500)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EFA #B0FA7E
analogous
#8A7EFA #C87EFA #FA7EEE
triadic
#C87EFA #FAC87E #7EFAC8
tetradic
#C87EFA #FA8A7E #B0FA7E #7EEEFA
square
#C87EFA #FA8A7E #B0FA7E #7EEEFA
split-complementary
#C87EFA #EEFA7E #7EFA8A
monochromatic
#9609F4 #AF43F8 #C87EFA #E1B9FC #F2E2FE

Accessibility & contrast

On white

2.69
#C87EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#C87EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EFA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EFA#FFFFFF#000000##000000
##C87EFA1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#C293B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87efa;
/* rgb */ color: rgb(200, 126, 250);
/* oklch */ color: oklch(72.0% 0.186 310.1);
Tailwind
colors: {
  custom: {
    50: '#dba5fc',
    500: '#c87efa',
    950: '#000000',
  },
}
SCSS
$custom: #c87efa;
$custom-light: #dba5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c87efa",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 275.806,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71956,
    "c": 0.18626,
    "h": 310.1
  },
  "luminance": 0.34103
}

Semantic roles & 50–950 ramp

primary
#C87EFA
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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