#CC3DB7#CC3DB7

#CC3DB7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.220 H 334.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC3DB7
RGBrgb(204, 61, 183)
HSLhsl(309, 58%, 52%)
HSVhsv(309, 70%, 80%)
CMYKcmyk(0%, 70.1%, 10.3%, 20%)
CIE-LABlab(51.38, 68.36, -34.68)
CIE-LCHlch(51.38, 76.66, 333.10°)
OKLaboklab(60.99% 0.1987 -0.0948)
OKLCHoklch(60.99% 0.22 334.5)
XYZxyz(35.1182, 19.5967, 46.7235)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DB7 #3DCC52
analogous
#993DCC #CC3DB7 #CC3D70
triadic
#CC3DB7 #B7CC3D #3DB7CC
tetradic
#CC3DB7 #CC993D #3DCC52 #3D70CC
square
#CC3DB7 #CC993D #3DCC52 #3D70CC
split-complementary
#CC3DB7 #70CC3D #3DCC99
monochromatic
#711E65 #A12A90 #CC3DB7 #D96DC9 #E59EDB

Accessibility & contrast

On white

4.27
#CC3DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC3DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DB7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DB7#FFFFFF#000000##000000
##CC3DB71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#D64975
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3db7;
/* rgb */ color: rgb(204, 61, 183);
/* oklch */ color: oklch(61.0% 0.220 334.5);
Tailwind
colors: {
  custom: {
    50: '#df7fcd',
    500: '#cc3db7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3db7;
$custom-light: #df7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3db7",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 308.811,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60986,
    "c": 0.22019,
    "h": 334.5
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#CC3DB7
secondary
#93D29C
accent
#E25D46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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