#CE81EF#CE81EF

#CE81EF is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.5% C 0.172 H 315.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#CE81EF
RGBrgb(206, 129, 239)
HSLhsl(282, 77%, 72%)
HSVhsv(282, 46%, 94%)
CMYKcmyk(13.8%, 46%, 0%, 6.3%)
CIE-LABlab(65.79, 48.04, -43.74)
CIE-LCHlch(65.79, 64.97, 317.69°)
OKLaboklab(72.49% 0.1215 -0.1213)
OKLCHoklch(72.49% 0.172 315)
XYZxyz(48.8814, 35.0556, 85.8361)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE81EF #A2EF81
analogous
#9781EF #CE81EF #EF81D9
triadic
#CE81EF #EFCE81 #81EFCE
tetradic
#CE81EF #EF9781 #A2EF81 #81D9EF
square
#CE81EF #EF9781 #A2EF81 #81D9EF
split-complementary
#CE81EF #D9EF81 #81EF97
monochromatic
#A11CDA #B94BE8 #CE81EF #E3B7F6 #F4E4FC

Accessibility & contrast

On white

2.62
#CE81EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#CE81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE81EF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE81EF#FFFFFF#000000##000000
##CE81EF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#CC91AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ce81ef;
/* rgb */ color: rgb(206, 129, 239);
/* oklch */ color: oklch(72.5% 0.172 315.0);
Tailwind
colors: {
  custom: {
    50: '#dfa7f4',
    500: '#ce81ef',
    950: '#000000',
  },
}
SCSS
$custom: #ce81ef;
$custom-light: #dfa7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce81ef",
  "rgb": {
    "r": 206,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 282,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72487,
    "c": 0.17174,
    "h": 315
  },
  "luminance": 0.35054
}

Semantic roles & 50–950 ramp

primary
#CE81EF
secondary
#E0F3D8
accent
#DA0C4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CE81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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