#CC33C6#CC33C6

#CC33C6 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.0% C 0.241 H 329.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CC33C6
RGBrgb(204, 51, 198)
HSLhsl(302, 60%, 50%)
HSVhsv(302, 75%, 80%)
CMYKcmyk(0%, 75%, 2.9%, 20%)
CIE-LABlab(51.02, 73.82, -43.95)
CIE-LCHlch(51.02, 85.91, 329.23°)
OKLaboklab(60.97% 0.2087 -0.1215)
OKLCHoklch(60.97% 0.241 329.8)
XYZxyz(36.2785, 19.2851, 55.2268)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33C6 #33CC39
analogous
#8633CC #CC33C6 #CC3379
triadic
#CC33C6 #C6CC33 #33C6CC
tetradic
#CC33C6 #CC8633 #33CC39 #3379CC
square
#CC33C6 #CC8633 #33CC39 #3379CC
split-complementary
#CC33C6 #79CC33 #33CC86
monochromatic
#6A1B67 #9B2796 #CC33C6 #D864D4 #E495E1

Accessibility & contrast

On white

4.32
#CC33C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CC33C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33C6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33C6#FFFFFF#000000##000000
##CC33C61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6CCA
Deuteranopia (green-blind)
#6281C2
Tritanopia (blue-blind)
#D3497B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc33c6;
/* rgb */ color: rgb(204, 51, 198);
/* oklch */ color: oklch(61.0% 0.241 329.8);
Tailwind
colors: {
  custom: {
    50: '#e07bd8',
    500: '#cc33c6',
    950: '#000000',
  },
}
SCSS
$custom: #cc33c6;
$custom-light: #e07bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33c6",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 302.353,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.60974,
    "c": 0.24147,
    "h": 329.8
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#CC33C6
secondary
#8BD08E
accent
#E34B45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC33C6

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

Preview Lab → · Contrast checker → · Palette generator →

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