#CE87FC#CE87FC

#CE87FC is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.1% C 0.176 H 310.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CE87FC
RGBrgb(206, 135, 252)
HSLhsl(276, 95%, 76%)
HSVhsv(276, 46%, 99%)
CMYKcmyk(18.3%, 46.4%, 0%, 1.2%)
CIE-LABlab(67.63, 47.62, -47.97)
CIE-LCHlch(67.63, 67.59, 314.79°)
OKLaboklab(74.06% 0.1151 -0.1336)
OKLCHoklch(74.06% 0.176 310.7)
XYZxyz(51.6851, 37.4789, 96.5880)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87FC #B5FC87
analogous
#9387FC #CE87FC #FC87F0
triadic
#CE87FC #FCCE87 #87FCCE
tetradic
#CE87FC #FC9387 #B5FC87 #87F0FC
square
#CE87FC #FC9387 #B5FC87 #87F0FC
split-complementary
#CE87FC #F0FC87 #87FC93
monochromatic
#9D10F9 #B64BFB #CE87FC #E6C3FD #F3E1FE

Accessibility & contrast

On white

2.47
#CE87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CE87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87FC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87FC#FFFFFF#000000##000000
##CE87FC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#C999B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ce87fc;
/* rgb */ color: rgb(206, 135, 252);
/* oklch */ color: oklch(74.1% 0.176 310.7);
Tailwind
colors: {
  custom: {
    50: '#dfabfe',
    500: '#ce87fc',
    950: '#000000',
  },
}
SCSS
$custom: #ce87fc;
$custom-light: #dfabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87fc",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 276.41,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74058,
    "c": 0.1764,
    "h": 310.7
  },
  "luminance": 0.37478
}

Semantic roles & 50–950 ramp

primary
#CE87FC
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CE87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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