#CC3DB5#CC3DB5

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

Color values

HEX#CC3DB5
RGBrgb(204, 61, 181)
HSLhsl(310, 58%, 52%)
HSVhsv(310, 70%, 80%)
CMYKcmyk(0%, 70.1%, 11.3%, 20%)
CIE-LABlab(51.28, 68.07, -33.67)
CIE-LCHlch(51.28, 75.94, 333.68°)
OKLaboklab(60.89% 0.1986 -0.0919)
OKLCHoklch(60.89% 0.219 335.2)
XYZxyz(34.9115, 19.5141, 45.6350)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DB5 #3DCC54
analogous
#9B3DCC #CC3DB5 #CC3D6E
triadic
#CC3DB5 #B5CC3D #3DB5CC
tetradic
#CC3DB5 #CC9B3D #3DCC54 #3D6ECC
square
#CC3DB5 #CC9B3D #3DCC54 #3D6ECC
split-complementary
#CC3DB5 #6ECC3D #3DCC9B
monochromatic
#711E64 #A12A8E #CC3DB5 #D96DC7 #E59EDA

Accessibility & contrast

On white

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

On black

4.90
#CC3DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DB5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DB5#FFFFFF#000000##000000
##CC3DB51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB8
Deuteranopia (green-blind)
#6E82B2
Tritanopia (blue-blind)
#D64874
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3db5;
/* rgb */ color: rgb(204, 61, 181);
/* oklch */ color: oklch(60.9% 0.219 335.2);
Tailwind
colors: {
  custom: {
    50: '#df7fcb',
    500: '#cc3db5',
    950: '#000000',
  },
}
SCSS
$custom: #cc3db5;
$custom-light: #df7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3db5",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 309.65,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60886,
    "c": 0.21878,
    "h": 335.2
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#CC3DB5
secondary
#93D29D
accent
#E25F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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