#CC3DB8#CC3DB8

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

Color values

HEX#CC3DB8
RGBrgb(204, 61, 184)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 70.1%, 9.8%, 20%)
CIE-LABlab(51.43, 68.51, -35.19)
CIE-LCHlch(51.43, 77.02, 332.81°)
OKLaboklab(61.04% 0.1988 -0.0963)
OKLCHoklch(61.04% 0.221 334.2)
XYZxyz(35.2226, 19.6385, 47.2736)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DB8 #3DCC51
analogous
#993DCC #CC3DB8 #CC3D70
triadic
#CC3DB8 #B8CC3D #3DB8CC
tetradic
#CC3DB8 #CC993D #3DCC51 #3D70CC
square
#CC3DB8 #CC993D #3DCC51 #3D70CC
split-complementary
#CC3DB8 #70CC3D #3DCC99
monochromatic
#711E65 #A12A91 #CC3DB8 #D96DCA #E59EDB

Accessibility & contrast

On white

4.26
#CC3DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC3DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DB8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DB8#FFFFFF#000000##000000
##CC3DB81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBB
Deuteranopia (green-blind)
#6D82B5
Tritanopia (blue-blind)
#D54976
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3db8;
/* rgb */ color: rgb(204, 61, 184);
/* oklch */ color: oklch(61.0% 0.221 334.2);
Tailwind
colors: {
  custom: {
    50: '#df7fcd',
    500: '#cc3db8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3db8;
$custom-light: #df7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3db8",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 308.392,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.22091,
    "h": 334.2
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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