#CC5EBA#CC5EBA

#CC5EBA is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.8% C 0.177 H 334.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CC5EBA
RGBrgb(204, 94, 186)
HSLhsl(310, 52%, 58%)
HSVhsv(310, 54%, 80%)
CMYKcmyk(0%, 53.9%, 8.8%, 20%)
CIE-LABlab(56.48, 55.19, -28.48)
CIE-LCHlch(56.48, 62.10, 332.71°)
OKLaboklab(64.76% 0.1592 -0.0774)
OKLCHoklch(64.76% 0.177 334.1)
XYZxyz(37.7675, 24.3906, 49.1635)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EBA #5ECC70
analogous
#A75ECC #CC5EBA #CC5E83
triadic
#CC5EBA #BACC5E #5EBACC
tetradic
#CC5EBA #CCA75E #5ECC70 #5E83CC
square
#CC5EBA #CCA75E #5ECC70 #5E83CC
split-complementary
#CC5EBA #83CC5E #5ECCA7
monochromatic
#852A76 #B439A0 #CC5EBA #DB8CCE #E9BBE2

Accessibility & contrast

On white

3.57
#CC5EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CC5EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EBA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EBA#FFFFFF#000000##000000
##CC5EBA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#7D8DB7
Tritanopia (blue-blind)
#D46584
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5eba;
/* rgb */ color: rgb(204, 94, 186);
/* oklch */ color: oklch(64.8% 0.177 334.1);
Tailwind
colors: {
  custom: {
    50: '#de90cf',
    500: '#cc5eba',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eba;
$custom-light: #de90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eba",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 309.818,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.17702,
    "h": 334.1
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#CC5EBA
secondary
#ADD9B4
accent
#DB644C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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