#CE87F6#CE87F6

#CE87F6 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.8% C 0.170 H 312.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CE87F6
RGBrgb(206, 135, 246)
HSLhsl(278, 86%, 75%)
HSVhsv(278, 45%, 96%)
CMYKcmyk(16.3%, 45.1%, 0%, 3.5%)
CIE-LABlab(67.36, 46.34, -45.13)
CIE-LCHlch(67.36, 64.69, 315.76°)
OKLaboklab(73.76% 0.1143 -0.1254)
OKLCHoklch(73.76% 0.17 312.3)
XYZxyz(50.7493, 37.1046, 91.6594)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87F6 #AFF687
analogous
#9687F6 #CE87F6 #F687E7
triadic
#CE87F6 #F6CE87 #87F6CE
tetradic
#CE87F6 #F69687 #AFF687 #87E7F6
square
#CE87F6 #F69687 #AFF687 #87E7F6
split-complementary
#CE87F6 #E7F687 #87F696
monochromatic
#A015ED #B74EF2 #CE87F6 #E5C0FA #F3E3FD

Accessibility & contrast

On white

2.49
#CE87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CE87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87F6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87F6#FFFFFF#000000##000000
##CE87F61.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FA
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#CA98B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ce87f6;
/* rgb */ color: rgb(206, 135, 246);
/* oklch */ color: oklch(73.8% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfabf9',
    500: '#ce87f6',
    950: '#000000',
  },
}
SCSS
$custom: #ce87f6;
$custom-light: #dfabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87f6",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 278.378,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73759,
    "c": 0.16968,
    "h": 312.3
  },
  "luminance": 0.37104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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