#C87EF3#C87EF3

#C87EF3 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.6% C 0.178 H 311.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#C87EF3
RGBrgb(200, 126, 243)
HSLhsl(278, 83%, 72%)
HSVhsv(278, 48%, 95%)
CMYKcmyk(17.7%, 48.1%, 0%, 4.7%)
CIE-LABlab(64.70, 48.81, -47.70)
CIE-LCHlch(64.70, 68.24, 315.66°)
OKLaboklab(71.59% 0.1191 -0.133)
OKLCHoklch(71.59% 0.178 311.9)
XYZxyz(47.4551, 33.6731, 88.7763)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EF3 #A9F37E
analogous
#8E7EF3 #C87EF3 #F37EE3
triadic
#C87EF3 #F3C87E #7EF3C8
tetradic
#C87EF3 #F38E7E #A9F37E #7EE3F3
square
#C87EF3 #F38E7E #A9F37E #7EE3F3
split-complementary
#C87EF3 #E3F37E #7EF38E
monochromatic
#9615E2 #B046EE #C87EF3 #E0B6F8 #F3E3FC

Accessibility & contrast

On white

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

On black

7.73
#C87EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EF3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EF3#FFFFFF#000000##000000
##C87EF31.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#C491AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87ef3;
/* rgb */ color: rgb(200, 126, 243);
/* oklch */ color: oklch(71.6% 0.178 311.9);
Tailwind
colors: {
  custom: {
    50: '#dba5f7',
    500: '#c87ef3',
    950: '#000000',
  },
}
SCSS
$custom: #c87ef3;
$custom-light: #dba5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ef3",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 277.949,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.17848,
    "h": 311.9
  },
  "luminance": 0.33672
}

Semantic roles & 50–950 ramp

primary
#C87EF3
secondary
#E2F4D7
accent
#DF0656
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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