#CC30C9#CC30C9

#CC30C9 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.9% C 0.246 H 329.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC30C9
RGBrgb(204, 48, 201)
HSLhsl(301, 62%, 49%)
HSVhsv(301, 76%, 80%)
CMYKcmyk(0%, 76.5%, 1.5%, 20%)
CIE-LABlab(50.89, 75.13, -45.89)
CIE-LCHlch(50.89, 88.04, 328.58°)
OKLaboklab(60.93% 0.2111 -0.1271)
OKLCHoklch(60.93% 0.246 329)
XYZxyz(36.5011, 19.1711, 57.0249)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC30C9 #30CC33
analogous
#8130CC #CC30C9 #CC307B
triadic
#CC30C9 #C9CC30 #30C9CC
tetradic
#CC30C9 #CC8130 #30CC33 #307BCC
square
#CC30C9 #CC8130 #30CC33 #307BCC
split-complementary
#CC30C9 #7BCC30 #30CC81
monochromatic
#691967 #9A2498 #CC30C9 #DA60D7 #E591E4

Accessibility & contrast

On white

4.34
#CC30C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC30C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC30C9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC30C9#FFFFFF#000000##000000
##CC30C91.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B6CCD
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#D3497C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc30c9;
/* rgb */ color: rgb(204, 48, 201);
/* oklch */ color: oklch(60.9% 0.246 329.0);
Tailwind
colors: {
  custom: {
    50: '#e07ada',
    500: '#cc30c9',
    950: '#000000',
  },
}
SCSS
$custom: #cc30c9;
$custom-light: #e07ada;
$custom-dark: #000000;
JSON
{
  "hex": "#cc30c9",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 301.154,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.24639,
    "h": 329
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#CC30C9
secondary
#88D089
accent
#E54643
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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