#CC5BDA#CC5BDA

#CC5BDA is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.0% C 0.209 H 323.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CC5BDA
RGBrgb(204, 91, 218)
HSLhsl(293, 63%, 61%)
HSVhsv(293, 58%, 85%)
CMYKcmyk(6.4%, 58.3%, 0%, 14.5%)
CIE-LABlab(57.45, 62.12, -45.19)
CIE-LCHlch(57.45, 76.81, 323.97°)
OKLaboklab(65.95% 0.1671 -0.1253)
OKLCHoklch(65.95% 0.209 323.1)
XYZxyz(41.2966, 25.3836, 69.0404)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BDA #69DA5B
analogous
#8C5BDA #CC5BDA #DA5BA8
triadic
#CC5BDA #DACC5B #5BDACC
tetradic
#CC5BDA #DA8C5B #69DA5B #5BA8DA
square
#CC5BDA #DA8C5B #69DA5B #5BA8DA
split-complementary
#CC5BDA #A8DA5B #5BDA8C
monochromatic
#8B2298 #B92ECA #CC5BDA #DC8DE5 #EBBFF1

Accessibility & contrast

On white

3.46
#CC5BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CC5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BDA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BDA#FFFFFF#000000##000000
##CC5BDA1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DE
Deuteranopia (green-blind)
#6D8FD7
Tritanopia (blue-blind)
#CF6D92
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5bda;
/* rgb */ color: rgb(204, 91, 218);
/* oklch */ color: oklch(66.0% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#de8fe6',
    500: '#cc5bda',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bda;
$custom-light: #de8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bda",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 293.386,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.20891,
    "h": 323.1
  },
  "luminance": 0.25381
}

Semantic roles & 50–950 ramp

primary
#CC5BDA
secondary
#B6E1B0
accent
#CB1B2E
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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