#CD81CC#CD81CC

#CD81CC is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.8% C 0.135 H 327.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CD81CC
RGBrgb(205, 129, 204)
HSLhsl(301, 43%, 65%)
HSVhsv(301, 37%, 80%)
CMYKcmyk(0%, 37.1%, 0.5%, 19.6%)
CIE-LABlab(64.19, 40.91, -26.77)
CIE-LCHlch(64.19, 48.89, 326.80°)
OKLaboklab(70.78% 0.1136 -0.0728)
OKLCHoklch(70.78% 0.135 327.3)
XYZxyz(43.9253, 33.0412, 61.1789)
Luminance0.3304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81CC #81CD82
analogous
#A881CD #CD81CC #CD81A6
triadic
#CD81CC #CCCD81 #81CCCD
tetradic
#CD81CC #CDA881 #81CD82 #81A6CD
square
#CD81CC #CDA881 #81CD82 #81A6CD
split-complementary
#CD81CC #A6CD81 #81CDA8
monochromatic
#973C96 #BC55BA #CD81CC #DEADDE #F0D9EF

Accessibility & contrast

On white

2.76
#CD81CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CD81CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81CC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81CC#FFFFFF#000000##000000
##CD81CC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CF
Deuteranopia (green-blind)
#8F9FC9
Tritanopia (blue-blind)
#D2889D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd81cc;
/* rgb */ color: rgb(205, 129, 204);
/* oklch */ color: oklch(70.8% 0.135 327.3);
Tailwind
colors: {
  custom: {
    50: '#dda7db',
    500: '#cd81cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd81cc;
$custom-light: #dda7db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81cc",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 300.789,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70778,
    "c": 0.13494,
    "h": 327.3
  },
  "luminance": 0.33039
}

Semantic roles & 50–950 ramp

primary
#CD81CC
secondary
#C8E2C9
accent
#B6312F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD81CC

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

Preview Lab → · Contrast checker → · Palette generator →

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