#CC3EB9#CC3EB9

#CC3EB9 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.220 H 333.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC3EB9
RGBrgb(204, 62, 185)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 69.6%, 9.3%, 20%)
CIE-LABlab(51.60, 68.31, -35.50)
CIE-LCHlch(51.60, 76.99, 332.54°)
OKLaboklab(61.18% 0.1979 -0.0972)
OKLCHoklch(61.18% 0.22 333.8)
XYZxyz(35.3817, 19.7884, 47.8456)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EB9 #3ECC51
analogous
#983ECC #CC3EB9 #CC3E72
triadic
#CC3EB9 #B9CC3E #3EB9CC
tetradic
#CC3EB9 #CC983E #3ECC51 #3E72CC
square
#CC3EB9 #CC983E #3ECC51 #3E72CC
split-complementary
#CC3EB9 #72CC3E #3ECC98
monochromatic
#721E66 #A22B92 #CC3EB9 #D96ECB #E69FDC

Accessibility & contrast

On white

4.24
#CC3EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC3EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EB9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EB9#FFFFFF#000000##000000
##CC3EB91.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBC
Deuteranopia (green-blind)
#6D82B6
Tritanopia (blue-blind)
#D54A77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3eb9;
/* rgb */ color: rgb(204, 62, 185);
/* oklch */ color: oklch(61.2% 0.220 333.8);
Tailwind
colors: {
  custom: {
    50: '#df7fce',
    500: '#cc3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #cc3eb9;
$custom-light: #df7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3eb9",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 308.028,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.22046,
    "h": 333.8
  },
  "luminance": 0.19785
}

Semantic roles & 50–950 ramp

primary
#CC3EB9
secondary
#94D29C
accent
#E15B46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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