#CD81CB#CD81CB

#CD81CB is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.7% C 0.134 H 327.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CD81CB
RGBrgb(205, 129, 203)
HSLhsl(302, 43%, 65%)
HSVhsv(302, 37%, 80%)
CMYKcmyk(0%, 37.1%, 1%, 19.6%)
CIE-LABlab(64.16, 40.72, -26.27)
CIE-LCHlch(64.16, 48.46, 327.18°)
OKLaboklab(70.74% 0.1134 -0.0714)
OKLCHoklch(70.74% 0.134 327.8)
XYZxyz(43.8058, 32.9934, 60.5492)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81CB #81CD83
analogous
#A981CD #CD81CB #CD81A5
triadic
#CD81CB #CBCD81 #81CBCD
tetradic
#CD81CB #CDA981 #81CD83 #81A5CD
square
#CD81CB #CDA981 #81CD83 #81A5CD
split-complementary
#CD81CB #A5CD81 #81CDA9
monochromatic
#973C95 #BC55B9 #CD81CB #DEADDD #F0D9EF

Accessibility & contrast

On white

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

On black

7.60
#CD81CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81CB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81CB#FFFFFF#000000##000000
##CD81CB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CE
Deuteranopia (green-blind)
#909FC9
Tritanopia (blue-blind)
#D2889D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd81cb;
/* rgb */ color: rgb(205, 129, 203);
/* oklch */ color: oklch(70.7% 0.134 327.8);
Tailwind
colors: {
  custom: {
    50: '#dda7db',
    500: '#cd81cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd81cb;
$custom-light: #dda7db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81cb",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 301.579,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70736,
    "c": 0.13397,
    "h": 327.8
  },
  "luminance": 0.32991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD81CB

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

Preview Lab → · Contrast checker → · Palette generator →

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