#CE87F9#CE87F9

#CE87F9 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.9% C 0.173 H 311.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CE87F9
RGBrgb(206, 135, 249)
HSLhsl(277, 90%, 75%)
HSVhsv(277, 46%, 98%)
CMYKcmyk(17.3%, 45.8%, 0%, 2.4%)
CIE-LABlab(67.49, 46.98, -46.55)
CIE-LCHlch(67.49, 66.14, 315.26°)
OKLaboklab(73.91% 0.1147 -0.1295)
OKLCHoklch(73.91% 0.173 311.5)
XYZxyz(51.2134, 37.2903, 94.1040)
Luminance0.3729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87F9 #B2F987
analogous
#9587F9 #CE87F9 #F987EB
triadic
#CE87F9 #F9CE87 #87F9CE
tetradic
#CE87F9 #F99587 #B2F987 #87EBF9
square
#CE87F9 #F99587 #B2F987 #87EBF9
split-complementary
#CE87F9 #EBF987 #87F995
monochromatic
#9E12F3 #B64DF6 #CE87F9 #E6C1FC #F3E2FE

Accessibility & contrast

On white

2.48
#CE87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#CE87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87F9
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87F9#FFFFFF#000000##000000
##CE87F91.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FD
Deuteranopia (green-blind)
#81A6F6
Tritanopia (blue-blind)
#C999B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ce87f9;
/* rgb */ color: rgb(206, 135, 249);
/* oklch */ color: oklch(73.9% 0.173 311.5);
Tailwind
colors: {
  custom: {
    50: '#dfabfb',
    500: '#ce87f9',
    950: '#000000',
  },
}
SCSS
$custom: #ce87f9;
$custom-light: #dfabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87f9",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 277.368,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73908,
    "c": 0.17303,
    "h": 311.5
  },
  "luminance": 0.37289
}

Semantic roles & 50–950 ramp

primary
#CE87F9
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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