#CE87F8#CE87F8

#CE87F8 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.9% C 0.172 H 311.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CE87F8
RGBrgb(206, 135, 248)
HSLhsl(278, 89%, 75%)
HSVhsv(278, 46%, 97%)
CMYKcmyk(16.9%, 45.6%, 0%, 2.7%)
CIE-LABlab(67.45, 46.77, -46.08)
CIE-LCHlch(67.45, 65.65, 315.42°)
OKLaboklab(73.86% 0.1146 -0.1281)
OKLCHoklch(73.86% 0.172 311.8)
XYZxyz(51.0579, 37.2281, 93.2848)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87F8 #B1F887
analogous
#9587F8 #CE87F8 #F887EA
triadic
#CE87F8 #F8CE87 #87F8CE
tetradic
#CE87F8 #F89587 #B1F887 #87EAF8
square
#CE87F8 #F89587 #B1F887 #87EAF8
split-complementary
#CE87F8 #EAF887 #87F895
monochromatic
#9F13F1 #B64DF5 #CE87F8 #E6C1FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.45
#CE87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87F8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87F8#FFFFFF#000000##000000
##CE87F81.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FC
Deuteranopia (green-blind)
#81A6F5
Tritanopia (blue-blind)
#CA98B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ce87f8;
/* rgb */ color: rgb(206, 135, 248);
/* oklch */ color: oklch(73.9% 0.172 311.8);
Tailwind
colors: {
  custom: {
    50: '#dfabfb',
    500: '#ce87f8',
    950: '#000000',
  },
}
SCSS
$custom: #ce87f8;
$custom-light: #dfabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87f8",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 277.699,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73858,
    "c": 0.17191,
    "h": 311.8
  },
  "luminance": 0.37227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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