#CC81CA#CC81CA

#CC81CA is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.6% C 0.132 H 327.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CC81CA
RGBrgb(204, 129, 202)
HSLhsl(302, 42%, 65%)
HSVhsv(302, 37%, 80%)
CMYKcmyk(0%, 36.8%, 1%, 20%)
CIE-LABlab(64.00, 40.22, -25.95)
CIE-LCHlch(64.00, 47.87, 327.17°)
OKLaboklab(70.58% 0.112 -0.0705)
OKLCHoklch(70.58% 0.132 327.8)
XYZxyz(43.4120, 32.8040, 59.9108)
Luminance0.3280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC81CA #81CC83
analogous
#A881CC #CC81CA #CC81A4
triadic
#CC81CA #CACC81 #81CACC
tetradic
#CC81CA #CCA881 #81CC83 #81A4CC
square
#CC81CA #CCA881 #81CC83 #81A4CC
split-complementary
#CC81CA #A4CC81 #81CCA8
monochromatic
#963D94 #BA55B8 #CC81CA #DEADDC #EFD8EF

Accessibility & contrast

On white

2.78
#CC81CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CC81CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC81CA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC81CA#FFFFFF#000000##000000
##CC81CA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CD
Deuteranopia (green-blind)
#8F9FC8
Tritanopia (blue-blind)
#D1879C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc81ca;
/* rgb */ color: rgb(204, 129, 202);
/* oklch */ color: oklch(70.6% 0.132 327.8);
Tailwind
colors: {
  custom: {
    50: '#dda7da',
    500: '#cc81ca',
    950: '#000000',
  },
}
SCSS
$custom: #cc81ca;
$custom-light: #dda7da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc81ca",
  "rgb": {
    "r": 204,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 301.6,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70583,
    "c": 0.13232,
    "h": 327.8
  },
  "luminance": 0.32802
}

Semantic roles & 50–950 ramp

primary
#CC81CA
secondary
#C8E1C8
accent
#B53430
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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