#CE87F5#CE87F5

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

Color values

HEX#CE87F5
RGBrgb(206, 135, 245)
HSLhsl(279, 85%, 75%)
HSVhsv(279, 45%, 96%)
CMYKcmyk(15.9%, 44.9%, 0%, 3.9%)
CIE-LABlab(67.31, 46.13, -44.65)
CIE-LCHlch(67.31, 64.20, 315.93°)
OKLaboklab(73.71% 0.1142 -0.124)
OKLCHoklch(73.71% 0.169 312.6)
XYZxyz(50.5962, 37.0434, 90.8532)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87F5 #AEF587
analogous
#9787F5 #CE87F5 #F587E5
triadic
#CE87F5 #F5CE87 #87F5CE
tetradic
#CE87F5 #F59787 #AEF587 #87E5F5
square
#CE87F5 #F59787 #AEF587 #87E5F5
split-complementary
#CE87F5 #E5F587 #87F597
monochromatic
#A016EC #B74FF0 #CE87F5 #E5BFFA #F3E3FD

Accessibility & contrast

On white

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

On black

8.41
#CE87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87F5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87F5#FFFFFF#000000##000000
##CE87F51.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0F9
Deuteranopia (green-blind)
#83A6F2
Tritanopia (blue-blind)
#CA98B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ce87f5;
/* rgb */ color: rgb(206, 135, 245);
/* oklch */ color: oklch(73.7% 0.169 312.6);
Tailwind
colors: {
  custom: {
    50: '#dfabf9',
    500: '#ce87f5',
    950: '#000000',
  },
}
SCSS
$custom: #ce87f5;
$custom-light: #dfabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87f5",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 278.727,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73709,
    "c": 0.16856,
    "h": 312.6
  },
  "luminance": 0.37042
}

Semantic roles & 50–950 ramp

primary
#CE87F5
secondary
#E1F5D6
accent
#E10453
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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