#CF81EA#CF81EA

#CF81EA is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.4% C 0.167 H 317.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CF81EA
RGBrgb(207, 129, 234)
HSLhsl(285, 71%, 71%)
HSVhsv(285, 45%, 92%)
CMYKcmyk(11.5%, 44.9%, 0%, 8.2%)
CIE-LABlab(65.68, 47.31, -41.15)
CIE-LCHlch(65.68, 62.70, 318.98°)
OKLaboklab(72.35% 0.1219 -0.1139)
OKLCHoklch(72.35% 0.167 317)
XYZxyz(48.4315, 34.9079, 82.0126)
Luminance0.3491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81EA #9CEA81
analogous
#9A81EA #CF81EA #EA81D1
triadic
#CF81EA #EACF81 #81EACF
tetradic
#CF81EA #EA9A81 #9CEA81 #81D1EA
square
#CF81EA #EA9A81 #9CEA81 #81D1EA
split-complementary
#CF81EA #D1EA81 #81EA9A
monochromatic
#A222CE #BB4DE1 #CF81EA #E3B5F3 #F5E5FB

Accessibility & contrast

On white

2.63
#CF81EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CF81EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81EA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81EA#FFFFFF#000000##000000
##CF81EA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#84A2E7
Tritanopia (blue-blind)
#CE90AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf81ea;
/* rgb */ color: rgb(207, 129, 234);
/* oklch */ color: oklch(72.4% 0.167 317.0);
Tailwind
colors: {
  custom: {
    50: '#dfa7f1',
    500: '#cf81ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf81ea;
$custom-light: #dfa7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81ea",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 284.571,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72352,
    "c": 0.16682,
    "h": 317
  },
  "luminance": 0.34906
}

Semantic roles & 50–950 ramp

primary
#CF81EA
secondary
#DDF1D6
accent
#D31244
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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