#CE87FB#CE87FB

#CE87FB is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.0% C 0.175 H 311.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CE87FB
RGBrgb(206, 135, 251)
HSLhsl(277, 94%, 76%)
HSVhsv(277, 46%, 98%)
CMYKcmyk(17.9%, 46.2%, 0%, 1.6%)
CIE-LABlab(67.59, 47.40, -47.50)
CIE-LCHlch(67.59, 67.11, 314.94°)
OKLaboklab(74.01% 0.115 -0.1323)
OKLCHoklch(74.01% 0.175 311)
XYZxyz(51.5270, 37.4157, 95.7556)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87FB #B4FB87
analogous
#9487FB #CE87FB #FB87EE
triadic
#CE87FB #FBCE87 #87FBCE
tetradic
#CE87FB #FB9487 #B4FB87 #87EEFB
square
#CE87FB #FB9487 #B4FB87 #87EEFB
split-complementary
#CE87FB #EEFB87 #87FB94
monochromatic
#9E11F7 #B64CF9 #CE87FB #E6C2FD #F3E1FE

Accessibility & contrast

On white

2.48
#CE87FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CE87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87FB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87FB#FFFFFF#000000##000000
##CE87FB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#C999B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ce87fb;
/* rgb */ color: rgb(206, 135, 251);
/* oklch */ color: oklch(74.0% 0.175 311.0);
Tailwind
colors: {
  custom: {
    50: '#dfabfd',
    500: '#ce87fb',
    950: '#000000',
  },
}
SCSS
$custom: #ce87fb;
$custom-light: #dfabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87fb",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 276.724,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74008,
    "c": 0.17528,
    "h": 311
  },
  "luminance": 0.37415
}

Semantic roles & 50–950 ramp

primary
#CE87FB
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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