#CC5CDB#CC5CDB

#CC5CDB is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.1% C 0.208 H 322.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CC5CDB
RGBrgb(204, 92, 219)
HSLhsl(293, 64%, 61%)
HSVhsv(293, 58%, 86%)
CMYKcmyk(6.8%, 58%, 0%, 14.1%)
CIE-LABlab(57.66, 61.85, -45.41)
CIE-LCHlch(57.66, 76.73, 323.71°)
OKLaboklab(66.13% 0.166 -0.126)
OKLCHoklch(66.13% 0.208 322.8)
XYZxyz(41.5139, 25.6083, 69.7603)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CDB #6BDB5C
analogous
#8C5CDB #CC5CDB #DB5CAA
triadic
#CC5CDB #DBCC5C #5CDBCC
tetradic
#CC5CDB #DB8C5C #6BDB5C #5CAADB
square
#CC5CDB #DB8C5C #6BDB5C #5CAADB
split-complementary
#CC5CDB #AADB5C #5CDB8C
monochromatic
#8C229A #BA2DCD #CC5CDB #DC8EE6 #EBC0F1

Accessibility & contrast

On white

3.43
#CC5CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CC5CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CDB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CDB#FFFFFF#000000##000000
##CC5CDB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#6D8FD8
Tritanopia (blue-blind)
#CF6E93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5cdb;
/* rgb */ color: rgb(204, 92, 219);
/* oklch */ color: oklch(66.1% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#de90e6',
    500: '#cc5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cdb;
$custom-light: #de90e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cdb",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 292.913,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66125,
    "c": 0.20837,
    "h": 322.8
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#CC5CDB
secondary
#B7E1B1
accent
#CC1A2F
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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