#CD81DF#CD81DF

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

Color values

HEX#CD81DF
RGBrgb(205, 129, 223)
HSLhsl(289, 59%, 69%)
HSVhsv(289, 42%, 87%)
CMYKcmyk(8.1%, 42.2%, 0%, 12.5%)
CIE-LABlab(64.97, 44.53, -36.18)
CIE-LCHlch(64.97, 57.38, 320.91°)
OKLaboklab(71.61% 0.1177 -0.0996)
OKLCHoklch(71.61% 0.154 319.8)
XYZxyz(46.3447, 34.0089, 73.9208)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81DF #93DF81
analogous
#9E81DF #CD81DF #DF81C2
triadic
#CD81DF #DFCD81 #81DFCD
tetradic
#CD81DF #DF9E81 #93DF81 #81C2DF
square
#CD81DF #DF9E81 #93DF81 #81C2DF
split-complementary
#CD81DF #C2DF81 #81DF9E
monochromatic
#9D2FB7 #BA50D3 #CD81DF #E0B2EB #F4E3F8

Accessibility & contrast

On white

2.69
#CD81DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CD81DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81DF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81DF#FFFFFF#000000##000000
##CD81DF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#88A0DC
Tritanopia (blue-blind)
#CE8DA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd81df;
/* rgb */ color: rgb(205, 129, 223);
/* oklch */ color: oklch(71.6% 0.154 319.8);
Tailwind
colors: {
  custom: {
    50: '#dea7e9',
    500: '#cd81df',
    950: '#000000',
  },
}
SCSS
$custom: #cd81df;
$custom-light: #dea7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81df",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 288.511,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71615,
    "c": 0.15417,
    "h": 319.8
  },
  "luminance": 0.34007
}

Semantic roles & 50–950 ramp

primary
#CD81DF
secondary
#D5ECD0
accent
#C71E3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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