#CD81CE#CD81CE

#CD81CE is a light, vivid purple. Relative luminance 0.331; OKLCH L 70.9% C 0.137 H 326.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CD81CE
RGBrgb(205, 129, 206)
HSLhsl(299, 44%, 66%)
HSVhsv(299, 37%, 81%)
CMYKcmyk(0.5%, 37.4%, 0%, 19.2%)
CIE-LABlab(64.27, 41.28, -27.77)
CIE-LCHlch(64.27, 49.75, 326.07°)
OKLaboklab(70.86% 0.1141 -0.0756)
OKLCHoklch(70.86% 0.137 326.4)
XYZxyz(44.1667, 33.1377, 62.4503)
Luminance0.3314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81CE #82CE81
analogous
#A681CE #CD81CE #CE81A8
triadic
#CD81CE #CECD81 #81CECD
tetradic
#CD81CE #CEA681 #82CE81 #81A8CE
square
#CD81CE #CEA681 #82CE81 #81A8CE
split-complementary
#CD81CE #A8CE81 #81CEA6
monochromatic
#983C99 #BC55BD #CD81CE #DEADDF #F0D9F0

Accessibility & contrast

On white

2.75
#CD81CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CD81CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81CE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81CE#FFFFFF#000000##000000
##CD81CE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D1
Deuteranopia (green-blind)
#8E9FCB
Tritanopia (blue-blind)
#D1889E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd81ce;
/* rgb */ color: rgb(205, 129, 206);
/* oklch */ color: oklch(70.9% 0.137 326.4);
Tailwind
colors: {
  custom: {
    50: '#dda7dd',
    500: '#cd81ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd81ce;
$custom-light: #dda7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81ce",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 299.221,
    "s": 44,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70863,
    "c": 0.13688,
    "h": 326.4
  },
  "luminance": 0.33136
}

Semantic roles & 50–950 ramp

primary
#CD81CE
secondary
#C9E2C9
accent
#B72E30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD81CE

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

Preview Lab → · Contrast checker → · Palette generator →

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