#CC3DB6#CC3DB6

#CC3DB6 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.219 H 334.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC3DB6
RGBrgb(204, 61, 182)
HSLhsl(309, 58%, 52%)
HSVhsv(309, 70%, 80%)
CMYKcmyk(0%, 70.1%, 10.8%, 20%)
CIE-LABlab(51.33, 68.21, -34.18)
CIE-LCHlch(51.33, 76.30, 333.39°)
OKLaboklab(60.94% 0.1986 -0.0933)
OKLCHoklch(60.94% 0.219 334.8)
XYZxyz(35.0145, 19.5553, 46.1773)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DB6 #3DCC53
analogous
#9B3DCC #CC3DB6 #CC3D6F
triadic
#CC3DB6 #B6CC3D #3DB6CC
tetradic
#CC3DB6 #CC9B3D #3DCC53 #3D6FCC
square
#CC3DB6 #CC9B3D #3DCC53 #3D6FCC
split-complementary
#CC3DB6 #6FCC3D #3DCC9B
monochromatic
#711E64 #A12A8F #CC3DB6 #D96DC8 #E59EDA

Accessibility & contrast

On white

4.28
#CC3DB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC3DB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DB6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DB6#FFFFFF#000000##000000
##CC3DB61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DB9
Deuteranopia (green-blind)
#6E82B3
Tritanopia (blue-blind)
#D64875
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3db6;
/* rgb */ color: rgb(204, 61, 182);
/* oklch */ color: oklch(60.9% 0.219 334.8);
Tailwind
colors: {
  custom: {
    50: '#df7fcc',
    500: '#cc3db6',
    950: '#000000',
  },
}
SCSS
$custom: #cc3db6;
$custom-light: #df7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3db6",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 309.231,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.21948,
    "h": 334.8
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#CC3DB6
secondary
#93D29D
accent
#E25E46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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