#CC3DB9#CC3DB9

#CC3DB9 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.222 H 333.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC3DB9
RGBrgb(204, 61, 185)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 70.1%, 9.3%, 20%)
CIE-LABlab(51.47, 68.66, -35.70)
CIE-LCHlch(51.47, 77.39, 332.53°)
OKLaboklab(61.09% 0.1989 -0.0977)
OKLCHoklch(61.09% 0.222 333.8)
XYZxyz(35.3278, 19.6806, 47.8276)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DB9 #3DCC50
analogous
#983DCC #CC3DB9 #CC3D72
triadic
#CC3DB9 #B9CC3D #3DB9CC
tetradic
#CC3DB9 #CC983D #3DCC50 #3D72CC
square
#CC3DB9 #CC983D #3DCC50 #3D72CC
split-complementary
#CC3DB9 #72CC3D #3DCC98
monochromatic
#711E66 #A12A92 #CC3DB9 #D96DCA #E59EDC

Accessibility & contrast

On white

4.25
#CC3DB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC3DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DB9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DB9#FFFFFF#000000##000000
##CC3DB91.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBC
Deuteranopia (green-blind)
#6C82B5
Tritanopia (blue-blind)
#D54A76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3db9;
/* rgb */ color: rgb(204, 61, 185);
/* oklch */ color: oklch(61.1% 0.222 333.8);
Tailwind
colors: {
  custom: {
    50: '#df7fce',
    500: '#cc3db9',
    950: '#000000',
  },
}
SCSS
$custom: #cc3db9;
$custom-light: #df7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3db9",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 307.972,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61086,
    "c": 0.22161,
    "h": 333.8
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#CC3DB9
secondary
#93D29B
accent
#E25B46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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