#CC5EE3#CC5EE3

#CC5EE3 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.213 H 320.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CC5EE3
RGBrgb(204, 94, 227)
HSLhsl(290, 70%, 63%)
HSVhsv(290, 59%, 89%)
CMYKcmyk(10.1%, 58.6%, 0%, 11%)
CIE-LABlab(58.41, 62.43, -48.73)
CIE-LCHlch(58.41, 79.20, 322.02°)
OKLaboklab(66.8% 0.164 -0.1357)
OKLCHoklch(66.8% 0.213 320.4)
XYZxyz(42.7680, 26.3908, 75.4993)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EE3 #75E35E
analogous
#895EE3 #CC5EE3 #E35EB7
triadic
#CC5EE3 #E3CC5E #5EE3CC
tetradic
#CC5EE3 #E3895E #75E35E #5EB7E3
square
#CC5EE3 #E3895E #75E35E #5EB7E3
split-complementary
#CC5EE3 #B7E35E #5EE389
monochromatic
#911DA9 #BB2ADA #CC5EE3 #DD92EC #EDC6F5

Accessibility & contrast

On white

3.35
#CC5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CC5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EE3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EE3#FFFFFF#000000##000000
##CC5EE31.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E7
Deuteranopia (green-blind)
#6A90E0
Tritanopia (blue-blind)
#CD7398
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5ee3;
/* rgb */ color: rgb(204, 94, 227);
/* oklch */ color: oklch(66.8% 0.213 320.4);
Tailwind
colors: {
  custom: {
    50: '#de91ec',
    500: '#cc5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ee3;
$custom-light: #de91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ee3",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 289.624,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66799,
    "c": 0.21281,
    "h": 320.4
  },
  "luminance": 0.26389
}

Semantic roles & 50–950 ramp

primary
#CC5EE3
secondary
#BFE6B6
accent
#D21334
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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