#CE87F3#CE87F3

#CE87F3 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.6% C 0.166 H 313.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CE87F3
RGBrgb(206, 135, 243)
HSLhsl(279, 82%, 74%)
HSVhsv(279, 44%, 95%)
CMYKcmyk(15.2%, 44.4%, 0%, 4.7%)
CIE-LABlab(67.22, 45.71, -43.70)
CIE-LCHlch(67.22, 63.24, 316.29°)
OKLaboklab(73.61% 0.1138 -0.1213)
OKLCHoklch(73.61% 0.166 313.2)
XYZxyz(50.2925, 36.9219, 89.2539)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87F3 #ACF387
analogous
#9887F3 #CE87F3 #F387E2
triadic
#CE87F3 #F3CE87 #87F3CE
tetradic
#CE87F3 #F39887 #ACF387 #87E2F3
square
#CE87F3 #F39887 #ACF387 #87E2F3
split-complementary
#CE87F3 #E2F387 #87F398
monochromatic
#A118E8 #B74FED #CE87F3 #E5BFF9 #F4E3FC

Accessibility & contrast

On white

2.50
#CE87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CE87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87F3
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87F3#FFFFFF#000000##000000
##CE87F31.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F7
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#CB97B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ce87f3;
/* rgb */ color: rgb(206, 135, 243);
/* oklch */ color: oklch(73.6% 0.166 313.2);
Tailwind
colors: {
  custom: {
    50: '#dfabf7',
    500: '#ce87f3',
    950: '#000000',
  },
}
SCSS
$custom: #ce87f3;
$custom-light: #dfabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87f3",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 279.444,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.16632,
    "h": 313.2
  },
  "luminance": 0.36921
}

Semantic roles & 50–950 ramp

primary
#CE87F3
secondary
#E1F4D7
accent
#DE0751
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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