#CD81DE#CD81DE

#CD81DE is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.6% C 0.153 H 320.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CD81DE
RGBrgb(205, 129, 222)
HSLhsl(289, 58%, 69%)
HSVhsv(289, 42%, 87%)
CMYKcmyk(7.7%, 41.9%, 0%, 12.9%)
CIE-LABlab(64.93, 44.34, -35.69)
CIE-LCHlch(64.93, 56.91, 321.17°)
OKLaboklab(71.57% 0.1175 -0.0982)
OKLCHoklch(71.57% 0.153 320.1)
XYZxyz(46.2103, 33.9552, 73.2129)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81DE #92DE81
analogous
#9F81DE #CD81DE #DE81C1
triadic
#CD81DE #DECD81 #81DECD
tetradic
#CD81DE #DE9F81 #92DE81 #81C1DE
square
#CD81DE #DE9F81 #92DE81 #81C1DE
split-complementary
#CD81DE #C1DE81 #81DE9F
monochromatic
#9D2FB5 #BA51D1 #CD81DE #E0B1EB #F3E2F7

Accessibility & contrast

On white

2.70
#CD81DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CD81DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81DE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81DE#FFFFFF#000000##000000
##CD81DE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E1
Deuteranopia (green-blind)
#88A0DB
Tritanopia (blue-blind)
#CE8CA5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd81de;
/* rgb */ color: rgb(205, 129, 222);
/* oklch */ color: oklch(71.6% 0.153 320.1);
Tailwind
colors: {
  custom: {
    50: '#dea7e8',
    500: '#cd81de',
    950: '#000000',
  },
}
SCSS
$custom: #cd81de;
$custom-light: #dea7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81de",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 289.032,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71569,
    "c": 0.15312,
    "h": 320.1
  },
  "luminance": 0.33954
}

Semantic roles & 50–950 ramp

primary
#CD81DE
secondary
#D5EBD0
accent
#C61F3E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD81DE

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

Preview Lab → · Contrast checker → · Palette generator →

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