#C87EFF#C87EFF

#C87EFF is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.2% C 0.192 H 308.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#C87EFF
RGBrgb(200, 126, 255)
HSLhsl(274, 100%, 75%)
HSVhsv(274, 51%, 100%)
CMYKcmyk(21.6%, 50.6%, 0%, 0%)
CIE-LABlab(65.30, 51.39, -53.35)
CIE-LCHlch(65.30, 74.08, 313.93°)
OKLaboklab(72.22% 0.1203 -0.1494)
OKLCHoklch(72.22% 0.192 308.9)
XYZxyz(49.3268, 34.4218, 98.6339)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EFF #B5FF7E
analogous
#887EFF #C87EFF #FF7EF5
triadic
#C87EFF #FFC87E #7EFFC8
tetradic
#C87EFF #FF887E #B5FF7E #7EF5FF
square
#C87EFF #FF887E #B5FF7E #7EF5FF
split-complementary
#C87EFF #F5FF7E #7EFF88
monochromatic
#9404FF #AE41FF #C87EFF #E2BBFF #F2E0FF

Accessibility & contrast

On white

2.66
#C87EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#C87EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EFF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EFF#FFFFFF#000000##000000
##C87EFF1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#C194B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87eff;
/* rgb */ color: rgb(200, 126, 255);
/* oklch */ color: oklch(72.2% 0.192 308.9);
Tailwind
colors: {
  custom: {
    50: '#dba5ff',
    500: '#c87eff',
    950: '#000000',
  },
}
SCSS
$custom: #c87eff;
$custom-light: #dba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c87eff",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 274.419,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72224,
    "c": 0.19182,
    "h": 308.9
  },
  "luminance": 0.34421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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