#CE87FF#CE87FF

#CE87FF is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.2% C 0.180 H 310.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CE87FF
RGBrgb(206, 135, 255)
HSLhsl(276, 100%, 76%)
HSVhsv(276, 47%, 100%)
CMYKcmyk(19.2%, 47.1%, 0%, 0%)
CIE-LABlab(67.78, 48.26, -49.39)
CIE-LCHlch(67.78, 69.05, 314.34°)
OKLaboklab(74.21% 0.1155 -0.1377)
OKLCHoklch(74.21% 0.18 310)
XYZxyz(52.1642, 37.6706, 99.1115)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87FF #B8FF87
analogous
#9287FF #CE87FF #FF87F4
triadic
#CE87FF #FFCE87 #87FFCE
tetradic
#CE87FF #FF9287 #B8FF87 #87F4FF
square
#CE87FF #FF9287 #B8FF87 #87F4FF
split-complementary
#CE87FF #F4FF87 #87FF92
monochromatic
#9C0DFF #B54AFF #CE87FF #E7C4FF #F3E0FF

Accessibility & contrast

On white

2.46
#CE87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CE87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87FF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87FF#FFFFFF#000000##000000
##CE87FF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#7EA6FC
Tritanopia (blue-blind)
#C89AB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ce87ff;
/* rgb */ color: rgb(206, 135, 255);
/* oklch */ color: oklch(74.2% 0.180 310.0);
Tailwind
colors: {
  custom: {
    50: '#dfabff',
    500: '#ce87ff',
    950: '#000000',
  },
}
SCSS
$custom: #ce87ff;
$custom-light: #dfabff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87ff",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 275.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74211,
    "c": 0.17978,
    "h": 310
  },
  "luminance": 0.3767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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