#CE87FD#CE87FD

#CE87FD is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.1% C 0.178 H 310.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CE87FD
RGBrgb(206, 135, 253)
HSLhsl(276, 97%, 76%)
HSVhsv(276, 47%, 99%)
CMYKcmyk(18.6%, 46.6%, 0%, 0.8%)
CIE-LABlab(67.68, 47.83, -48.44)
CIE-LCHlch(67.68, 68.08, 314.64°)
OKLaboklab(74.11% 0.1153 -0.135)
OKLCHoklch(74.11% 0.178 310.5)
XYZxyz(51.8440, 37.5425, 97.4248)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87FD #B6FD87
analogous
#9387FD #CE87FD #FD87F1
triadic
#CE87FD #FDCE87 #87FDCE
tetradic
#CE87FD #FD9387 #B6FD87 #87F1FD
square
#CE87FD #FD9387 #B6FD87 #87F1FD
split-complementary
#CE87FD #F1FD87 #87FD93
monochromatic
#9D0FFB #B54BFC #CE87FD #E7C3FE #F3E1FE

Accessibility & contrast

On white

2.47
#CE87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CE87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87FD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87FD#FFFFFF#000000##000000
##CE87FD1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#C89AB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ce87fd;
/* rgb */ color: rgb(206, 135, 253);
/* oklch */ color: oklch(74.1% 0.178 310.5);
Tailwind
colors: {
  custom: {
    50: '#dfabfe',
    500: '#ce87fd',
    950: '#000000',
  },
}
SCSS
$custom: #ce87fd;
$custom-light: #dfabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87fd",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 276.102,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74109,
    "c": 0.17752,
    "h": 310.5
  },
  "luminance": 0.37542
}

Semantic roles & 50–950 ramp

primary
#CE87FD
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CE87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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