#CC3DC7#CC3DC7

#CC3DC7 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.232 H 329.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC3DC7
RGBrgb(204, 61, 199)
HSLhsl(302, 58%, 52%)
HSVhsv(302, 70%, 80%)
CMYKcmyk(0%, 70.1%, 2.5%, 20%)
CIE-LABlab(52.18, 70.82, -42.69)
CIE-LCHlch(52.18, 82.70, 328.92°)
OKLaboklab(61.82% 0.1997 -0.1179)
OKLCHoklch(61.82% 0.232 329.4)
XYZxyz(36.8791, 20.3011, 55.9979)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DC7 #3DCC42
analogous
#8A3DCC #CC3DC7 #CC3D80
triadic
#CC3DC7 #C7CC3D #3DC7CC
tetradic
#CC3DC7 #CC8A3D #3DCC42 #3D80CC
square
#CC3DC7 #CC8A3D #3DCC42 #3D80CC
split-complementary
#CC3DC7 #80CC3D #3DCC8A
monochromatic
#711E6E #A12A9D #CC3DC7 #D96DD5 #E59EE3

Accessibility & contrast

On white

4.15
#CC3DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC3DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DC7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DC7#FFFFFF#000000##000000
##CC3DC71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#6683C3
Tritanopia (blue-blind)
#D3507E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3dc7;
/* rgb */ color: rgb(204, 61, 199);
/* oklch */ color: oklch(61.8% 0.232 329.4);
Tailwind
colors: {
  custom: {
    50: '#df7fd8',
    500: '#cc3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3dc7;
$custom-light: #df7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3dc7",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 302.098,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6182,
    "c": 0.23189,
    "h": 329.4
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#CC3DC7
secondary
#93D295
accent
#E24C46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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