#CE81FC#CE81FC

#CE81FC is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.1% C 0.186 H 311.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CE81FC
RGBrgb(206, 129, 252)
HSLhsl(278, 95%, 75%)
HSVhsv(278, 49%, 99%)
CMYKcmyk(18.3%, 48.8%, 0%, 1.2%)
CIE-LABlab(66.41, 50.76, -49.91)
CIE-LCHlch(66.41, 71.19, 315.48°)
OKLaboklab(73.14% 0.1232 -0.1392)
OKLCHoklch(73.14% 0.186 311.5)
XYZxyz(50.8714, 35.8516, 96.3168)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE81FC #AFFC81
analogous
#9181FC #CE81FC #FC81ED
triadic
#CE81FC #FCCE81 #81FCCE
tetradic
#CE81FC #FC9181 #AFFC81 #81EDFC
square
#CE81FC #FC9181 #AFFC81 #81EDFC
split-complementary
#CE81FC #EDFC81 #81FC91
monochromatic
#A009F9 #B745FB #CE81FC #E5BDFD #F3E1FE

Accessibility & contrast

On white

2.57
#CE81FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CE81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE81FC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE81FC#FFFFFF#000000##000000
##CE81FC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#C995B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ce81fc;
/* rgb */ color: rgb(206, 129, 252);
/* oklch */ color: oklch(73.1% 0.186 311.5);
Tailwind
colors: {
  custom: {
    50: '#dfa8fe',
    500: '#ce81fc',
    950: '#000000',
  },
}
SCSS
$custom: #ce81fc;
$custom-light: #dfa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce81fc",
  "rgb": {
    "r": 206,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 277.561,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73144,
    "c": 0.18591,
    "h": 311.5
  },
  "luminance": 0.35851
}

Semantic roles & 50–950 ramp

primary
#CE81FC
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CE81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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