#CF81EE#CF81EE

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

Color values

HEX#CF81EE
RGBrgb(207, 129, 238)
HSLhsl(283, 76%, 72%)
HSVhsv(283, 46%, 93%)
CMYKcmyk(13%, 45.8%, 0%, 6.7%)
CIE-LABlab(65.86, 48.12, -43.07)
CIE-LCHlch(65.86, 64.58, 318.17°)
OKLaboklab(72.55% 0.1225 -0.1194)
OKLCHoklch(72.55% 0.171 315.7)
XYZxyz(49.0127, 35.1403, 85.0732)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81EE #A0EE81
analogous
#9981EE #CF81EE #EE81D7
triadic
#CF81EE #EECF81 #81EECF
tetradic
#CF81EE #EE9981 #A0EE81 #81D7EE
square
#CF81EE #EE9981 #A0EE81 #81D7EE
split-complementary
#CF81EE #D7EE81 #81EE99
monochromatic
#A21DD8 #BA4BE7 #CF81EE #E4B7F5 #F5E4FB

Accessibility & contrast

On white

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

On black

8.03
#CF81EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81EE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81EE#FFFFFF#000000##000000
##CF81EE1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#CD91AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf81ee;
/* rgb */ color: rgb(207, 129, 238);
/* oklch */ color: oklch(72.5% 0.171 315.7);
Tailwind
colors: {
  custom: {
    50: '#dfa7f4',
    500: '#cf81ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf81ee;
$custom-light: #dfa7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81ee",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 282.936,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72546,
    "c": 0.1711,
    "h": 315.7
  },
  "luminance": 0.35139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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