#CC3DC2#CC3DC2

#CC3DC2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.228 H 331.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC3DC2
RGBrgb(204, 61, 194)
HSLhsl(304, 58%, 52%)
HSVhsv(304, 70%, 80%)
CMYKcmyk(0%, 70.1%, 4.9%, 20%)
CIE-LABlab(51.92, 70.04, -40.22)
CIE-LCHlch(51.92, 80.76, 330.14°)
OKLaboklab(61.55% 0.1995 -0.1107)
OKLCHoklch(61.55% 0.228 331)
XYZxyz(36.3081, 20.0727, 52.9906)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DC2 #3DCC47
analogous
#8F3DCC #CC3DC2 #CC3D7B
triadic
#CC3DC2 #C2CC3D #3DC2CC
tetradic
#CC3DC2 #CC8F3D #3DCC47 #3D7BCC
square
#CC3DC2 #CC8F3D #3DCC47 #3D7BCC
split-complementary
#CC3DC2 #7BCC3D #3DCC8F
monochromatic
#711E6B #A12A99 #CC3DC2 #D96DD1 #E59EE0

Accessibility & contrast

On white

4.19
#CC3DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CC3DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DC2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DC2#FFFFFF#000000##000000
##CC3DC21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#6883BE
Tritanopia (blue-blind)
#D44E7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3dc2;
/* rgb */ color: rgb(204, 61, 194);
/* oklch */ color: oklch(61.6% 0.228 331.0);
Tailwind
colors: {
  custom: {
    50: '#df7fd5',
    500: '#cc3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc3dc2;
$custom-light: #df7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3dc2",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 304.196,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.22816,
    "h": 331
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#CC3DC2
secondary
#93D297
accent
#E25146
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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