#CE87FA#CE87FA

#CE87FA is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.0% C 0.174 H 311.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CE87FA
RGBrgb(206, 135, 250)
HSLhsl(277, 92%, 75%)
HSVhsv(277, 46%, 98%)
CMYKcmyk(17.6%, 46%, 0%, 2%)
CIE-LABlab(67.54, 47.19, -47.03)
CIE-LCHlch(67.54, 66.62, 315.10°)
OKLaboklab(73.96% 0.1149 -0.1309)
OKLCHoklch(73.96% 0.174 311.3)
XYZxyz(51.3698, 37.3528, 94.9276)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87FA #B3FA87
analogous
#9487FA #CE87FA #FA87ED
triadic
#CE87FA #FACE87 #87FACE
tetradic
#CE87FA #FA9487 #B3FA87 #87EDFA
square
#CE87FA #FA9487 #B3FA87 #87EDFA
split-complementary
#CE87FA #EDFA87 #87FA94
monochromatic
#9E11F5 #B64CF8 #CE87FA #E6C2FC #F3E2FE

Accessibility & contrast

On white

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

On black

8.47
#CE87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87FA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87FA#FFFFFF#000000##000000
##CE87FA1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#C999B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ce87fa;
/* rgb */ color: rgb(206, 135, 250);
/* oklch */ color: oklch(74.0% 0.174 311.3);
Tailwind
colors: {
  custom: {
    50: '#dfabfc',
    500: '#ce87fa',
    950: '#000000',
  },
}
SCSS
$custom: #ce87fa;
$custom-light: #dfabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87fa",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 277.043,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73958,
    "c": 0.17415,
    "h": 311.3
  },
  "luminance": 0.37352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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