#CD81DD#CD81DD

#CD81DD is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.5% C 0.152 H 320.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CD81DD
RGBrgb(205, 129, 221)
HSLhsl(290, 58%, 69%)
HSVhsv(290, 42%, 87%)
CMYKcmyk(7.2%, 41.6%, 0%, 13.3%)
CIE-LABlab(64.88, 44.14, -35.20)
CIE-LCHlch(64.88, 56.46, 321.43°)
OKLaboklab(71.52% 0.1173 -0.0968)
OKLCHoklch(71.52% 0.152 320.5)
XYZxyz(46.0766, 33.9017, 72.5091)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81DD #91DD81
analogous
#9F81DD #CD81DD #DD81BF
triadic
#CD81DD #DDCD81 #81DDCD
tetradic
#CD81DD #DD9F81 #91DD81 #81BFDD
square
#CD81DD #DD9F81 #91DD81 #81BFDD
split-complementary
#CD81DD #BFDD81 #81DD9F
monochromatic
#9C30B3 #BA51D0 #CD81DD #E0B1EA #F3E1F7

Accessibility & contrast

On white

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

On black

7.78
#CD81DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81DD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81DD#FFFFFF#000000##000000
##CD81DD1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E0
Deuteranopia (green-blind)
#89A0DA
Tritanopia (blue-blind)
#CE8CA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd81dd;
/* rgb */ color: rgb(205, 129, 221);
/* oklch */ color: oklch(71.5% 0.152 320.5);
Tailwind
colors: {
  custom: {
    50: '#dea7e8',
    500: '#cd81dd',
    950: '#000000',
  },
}
SCSS
$custom: #cd81dd;
$custom-light: #dea7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81dd",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 289.565,
    "s": 57.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71523,
    "c": 0.15207,
    "h": 320.5
  },
  "luminance": 0.339
}

Semantic roles & 50–950 ramp

primary
#CD81DD
secondary
#D4EBCF
accent
#C5203D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD81DD

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

Preview Lab → · Contrast checker → · Palette generator →

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