#CC5BDD#CC5BDD

#CC5BDD is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.1% C 0.212 H 322.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CC5BDD
RGBrgb(204, 91, 221)
HSLhsl(292, 66%, 61%)
HSVhsv(292, 59%, 87%)
CMYKcmyk(7.7%, 58.8%, 0%, 13.3%)
CIE-LABlab(57.60, 62.67, -46.64)
CIE-LCHlch(57.60, 78.12, 323.34°)
OKLaboklab(66.11% 0.1673 -0.1296)
OKLCHoklch(66.11% 0.212 322.2)
XYZxyz(41.6927, 25.5421, 71.1266)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BDD #6CDD5B
analogous
#8B5BDD #CC5BDD #DD5BAD
triadic
#CC5BDD #DDCC5B #5BDDCC
tetradic
#CC5BDD #DD8B5B #6CDD5B #5BADDD
square
#CC5BDD #DD8B5B #6CDD5B #5BADDD
split-complementary
#CC5BDD #ADDD5B #5BDD8B
monochromatic
#8D219D #BA2BD0 #CC5BDD #DC8EE8 #ECC0F2

Accessibility & contrast

On white

3.44
#CC5BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CC5BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BDD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BDD#FFFFFF#000000##000000
##CC5BDD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#6B8FDA
Tritanopia (blue-blind)
#CF6E94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5bdd;
/* rgb */ color: rgb(204, 91, 221);
/* oklch */ color: oklch(66.1% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#de8fe8',
    500: '#cc5bdd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bdd;
$custom-light: #de8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bdd",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 292.154,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66112,
    "c": 0.21161,
    "h": 322.2
  },
  "luminance": 0.2554
}

Semantic roles & 50–950 ramp

primary
#CC5BDD
secondary
#B8E2B1
accent
#CE1830
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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