#CC30C3#CC30C3

#CC30C3 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.6% C 0.242 H 330.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC30C3
RGBrgb(204, 48, 195)
HSLhsl(303, 62%, 49%)
HSVhsv(303, 76%, 80%)
CMYKcmyk(0%, 76.5%, 4.4%, 20%)
CIE-LABlab(50.56, 74.21, -42.94)
CIE-LCHlch(50.56, 85.74, 329.95°)
OKLaboklab(60.6% 0.2111 -0.1185)
OKLCHoklch(60.6% 0.242 330.7)
XYZxyz(35.8090, 18.8943, 53.3801)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC30C3 #30CC39
analogous
#8730CC #CC30C3 #CC3075
triadic
#CC30C3 #C3CC30 #30C3CC
tetradic
#CC30C3 #CC8730 #30CC39 #3075CC
square
#CC30C3 #CC8730 #30CC39 #3075CC
split-complementary
#CC30C3 #75CC30 #30CC87
monochromatic
#691964 #9A2494 #CC30C3 #DA60D2 #E591E0

Accessibility & contrast

On white

4.39
#CC30C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CC30C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC30C3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC30C3#FFFFFF#000000##000000
##CC30C31.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6BC7
Deuteranopia (green-blind)
#6280BF
Tritanopia (blue-blind)
#D44678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc30c3;
/* rgb */ color: rgb(204, 48, 195);
/* oklch */ color: oklch(60.6% 0.242 330.7);
Tailwind
colors: {
  custom: {
    50: '#e07ad6',
    500: '#cc30c3',
    950: '#000000',
  },
}
SCSS
$custom: #cc30c3;
$custom-light: #e07ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc30c3",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 303.462,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.24211,
    "h": 330.7
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#CC30C3
secondary
#88D08C
accent
#E54C43
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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