#CD81CF#CD81CF

#CD81CF is a light, vivid purple. Relative luminance 0.332; OKLCH L 70.9% C 0.138 H 326.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CD81CF
RGBrgb(205, 129, 207)
HSLhsl(298, 45%, 66%)
HSVhsv(298, 38%, 81%)
CMYKcmyk(1%, 37.7%, 0%, 18.8%)
CIE-LABlab(64.31, 41.46, -28.27)
CIE-LCHlch(64.31, 50.18, 325.71°)
OKLaboklab(70.91% 0.1143 -0.0771)
OKLCHoklch(70.91% 0.138 326)
XYZxyz(44.2886, 33.1865, 63.0921)
Luminance0.3318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81CF #83CF81
analogous
#A681CF #CD81CF #CF81AA
triadic
#CD81CF #CFCD81 #81CFCD
tetradic
#CD81CF #CFA681 #83CF81 #81AACF
square
#CD81CF #CFA681 #83CF81 #81AACF
split-complementary
#CD81CF #AACF81 #81CFA6
monochromatic
#983B9B #BB55BE #CD81CF #DFADE0 #F0DAF1

Accessibility & contrast

On white

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

On black

7.64
#CD81CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81CF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81CF#FFFFFF#000000##000000
##CD81CF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#8E9FCC
Tritanopia (blue-blind)
#D1899E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd81cf;
/* rgb */ color: rgb(205, 129, 207);
/* oklch */ color: oklch(70.9% 0.138 326.0);
Tailwind
colors: {
  custom: {
    50: '#dda7de',
    500: '#cd81cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd81cf;
$custom-light: #dda7de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81cf",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 298.462,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70905,
    "c": 0.13786,
    "h": 326
  },
  "luminance": 0.33185
}

Semantic roles & 50–950 ramp

primary
#CD81CF
secondary
#CAE3C9
accent
#B82E31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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