#CE81DF#CE81DF

#CE81DF is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.7% C 0.155 H 320.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CE81DF
RGBrgb(206, 129, 223)
HSLhsl(289, 59%, 69%)
HSVhsv(289, 42%, 87%)
CMYKcmyk(7.6%, 42.2%, 0%, 12.5%)
CIE-LABlab(65.08, 44.83, -35.99)
CIE-LCHlch(65.08, 57.49, 321.24°)
OKLaboklab(71.73% 0.1188 -0.099)
OKLCHoklch(71.73% 0.155 320.2)
XYZxyz(46.6215, 34.1516, 73.9338)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE81DF #92DF81
analogous
#9F81DF #CE81DF #DF81C1
triadic
#CE81DF #DFCE81 #81DFCE
tetradic
#CE81DF #DF9F81 #92DF81 #81C1DF
square
#CE81DF #DF9F81 #92DF81 #81C1DF
split-complementary
#CE81DF #C1DF81 #81DF9F
monochromatic
#9E2FB7 #BB50D3 #CE81DF #E1B2EB #F4E3F8

Accessibility & contrast

On white

2.68
#CE81DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CE81DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE81DF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE81DF#FFFFFF#000000##000000
##CE81DF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#88A1DC
Tritanopia (blue-blind)
#CF8DA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce81df;
/* rgb */ color: rgb(206, 129, 223);
/* oklch */ color: oklch(71.7% 0.155 320.2);
Tailwind
colors: {
  custom: {
    50: '#dea7e9',
    500: '#ce81df',
    950: '#000000',
  },
}
SCSS
$custom: #ce81df;
$custom-light: #dea7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce81df",
  "rgb": {
    "r": 206,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 289.149,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71725,
    "c": 0.15471,
    "h": 320.2
  },
  "luminance": 0.3415
}

Semantic roles & 50–950 ramp

primary
#CE81DF
secondary
#D5ECD0
accent
#C71E3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CE81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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