#CD81CA#CD81CA

#CD81CA is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.7% C 0.133 H 328.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD81CA
RGBrgb(205, 129, 202)
HSLhsl(302, 43%, 65%)
HSVhsv(302, 37%, 80%)
CMYKcmyk(0%, 37.1%, 1.5%, 19.6%)
CIE-LABlab(64.12, 40.54, -25.77)
CIE-LCHlch(64.12, 48.03, 327.56°)
OKLaboklab(70.69% 0.1131 -0.07)
OKLCHoklch(70.69% 0.133 328.3)
XYZxyz(43.6870, 32.9458, 59.9237)
Luminance0.3294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81CA #81CD84
analogous
#AA81CD #CD81CA #CD81A4
triadic
#CD81CA #CACD81 #81CACD
tetradic
#CD81CA #CDAA81 #81CD84 #81A4CD
square
#CD81CA #CDAA81 #81CD84 #81A4CD
split-complementary
#CD81CA #A4CD81 #81CDAA
monochromatic
#973C94 #BC55B8 #CD81CA #DEADDC #F0D9EF

Accessibility & contrast

On white

2.77
#CD81CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CD81CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81CA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81CA#FFFFFF#000000##000000
##CD81CA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CD
Deuteranopia (green-blind)
#909FC8
Tritanopia (blue-blind)
#D2879C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd81ca;
/* rgb */ color: rgb(205, 129, 202);
/* oklch */ color: oklch(70.7% 0.133 328.3);
Tailwind
colors: {
  custom: {
    50: '#dda7da',
    500: '#cd81ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd81ca;
$custom-light: #dda7da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81ca",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 302.368,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70695,
    "c": 0.13301,
    "h": 328.3
  },
  "luminance": 0.32944
}

Semantic roles & 50–950 ramp

primary
#CD81CA
secondary
#C8E2C9
accent
#B6352F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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