#CD81D2#CD81D2

#CD81D2 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.0% C 0.141 H 324.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CD81D2
RGBrgb(205, 129, 210)
HSLhsl(296, 47%, 66%)
HSVhsv(296, 39%, 82%)
CMYKcmyk(2.4%, 38.6%, 0%, 17.6%)
CIE-LABlab(64.43, 42.03, -29.76)
CIE-LCHlch(64.43, 51.50, 324.69°)
OKLaboklab(71.03% 0.115 -0.0813)
OKLCHoklch(71.03% 0.141 324.7)
XYZxyz(44.6588, 33.3346, 65.0421)
Luminance0.3333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81D2 #86D281
analogous
#A581D2 #CD81D2 #D281AF
triadic
#CD81D2 #D2CD81 #81D2CD
tetradic
#CD81D2 #D2A581 #86D281 #81AFD2
square
#CD81D2 #D2A581 #86D281 #81AFD2
split-complementary
#CD81D2 #AFD281 #81D2A5
monochromatic
#9939A0 #BB54C2 #CD81D2 #DFAEE2 #F1DBF2

Accessibility & contrast

On white

2.74
#CD81D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CD81D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81D2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81D2#FFFFFF#000000##000000
##CD81D21.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#8DA0CF
Tritanopia (blue-blind)
#D189A0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd81d2;
/* rgb */ color: rgb(205, 129, 210);
/* oklch */ color: oklch(71.0% 0.141 324.7);
Tailwind
colors: {
  custom: {
    50: '#dda7e0',
    500: '#cd81d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd81d2;
$custom-light: #dda7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81d2",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 296.296,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71034,
    "c": 0.14083,
    "h": 324.7
  },
  "luminance": 0.33333
}

Semantic roles & 50–950 ramp

primary
#CD81D2
secondary
#CCE5CA
accent
#BB2B34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD81D2

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

Preview Lab → · Contrast checker → · Palette generator →

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