#CD81EE#CD81EE

#CD81EE is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.3% C 0.170 H 314.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CD81EE
RGBrgb(205, 129, 238)
HSLhsl(282, 76%, 72%)
HSVhsv(282, 46%, 93%)
CMYKcmyk(13.9%, 45.8%, 0%, 6.7%)
CIE-LABlab(65.63, 47.56, -43.44)
CIE-LCHlch(65.63, 64.41, 317.59°)
OKLaboklab(72.33% 0.1202 -0.1205)
OKLCHoklch(72.33% 0.17 314.9)
XYZxyz(48.4573, 34.8540, 85.0472)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81EE #A2EE81
analogous
#9781EE #CD81EE #EE81D9
triadic
#CD81EE #EECD81 #81EECD
tetradic
#CD81EE #EE9781 #A2EE81 #81D9EE
square
#CD81EE #EE9781 #A2EE81 #81D9EE
split-complementary
#CD81EE #D9EE81 #81EE97
monochromatic
#9F1DD8 #B84BE7 #CD81EE #E2B7F5 #F4E4FB

Accessibility & contrast

On white

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

On black

7.97
#CD81EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81EE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81EE#FFFFFF#000000##000000
##CD81EE1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#81A2EB
Tritanopia (blue-blind)
#CB91AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd81ee;
/* rgb */ color: rgb(205, 129, 238);
/* oklch */ color: oklch(72.3% 0.170 314.9);
Tailwind
colors: {
  custom: {
    50: '#dea7f4',
    500: '#cd81ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd81ee;
$custom-light: #dea7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81ee",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 281.835,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7233,
    "c": 0.17021,
    "h": 314.9
  },
  "luminance": 0.34853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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