#CE87F4#CE87F4

#CE87F4 is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.7% C 0.167 H 312.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CE87F4
RGBrgb(206, 135, 244)
HSLhsl(279, 83%, 74%)
HSVhsv(279, 45%, 96%)
CMYKcmyk(15.6%, 44.7%, 0%, 4.3%)
CIE-LABlab(67.26, 45.92, -44.17)
CIE-LCHlch(67.26, 63.72, 316.11°)
OKLaboklab(73.66% 0.114 -0.1226)
OKLCHoklch(73.66% 0.167 312.9)
XYZxyz(50.4440, 36.9825, 90.0514)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87F4 #ADF487
analogous
#9887F4 #CE87F4 #F487E3
triadic
#CE87F4 #F4CE87 #87F4CE
tetradic
#CE87F4 #F49887 #ADF487 #87E3F4
square
#CE87F4 #F49887 #ADF487 #87E3F4
split-complementary
#CE87F4 #E3F487 #87F498
monochromatic
#A017EA #B74FEF #CE87F4 #E5BFF9 #F4E3FC

Accessibility & contrast

On white

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

On black

8.40
#CE87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87F4
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87F4#FFFFFF#000000##000000
##CE87F41.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce87f4;
/* rgb */ color: rgb(206, 135, 244);
/* oklch */ color: oklch(73.7% 0.167 312.9);
Tailwind
colors: {
  custom: {
    50: '#dfabf8',
    500: '#ce87f4',
    950: '#000000',
  },
}
SCSS
$custom: #ce87f4;
$custom-light: #dfabf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87f4",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 279.083,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7366,
    "c": 0.16744,
    "h": 312.9
  },
  "luminance": 0.36981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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