#CC33C5#CC33C5

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

Color values

HEX#CC33C5
RGBrgb(204, 51, 197)
HSLhsl(303, 60%, 50%)
HSVhsv(303, 75%, 80%)
CMYKcmyk(0%, 75%, 3.4%, 20%)
CIE-LABlab(50.97, 73.66, -43.46)
CIE-LCHlch(50.97, 85.53, 329.46°)
OKLaboklab(60.92% 0.2087 -0.12)
OKLCHoklch(60.92% 0.241 330.1)
XYZxyz(36.1635, 19.2391, 54.6213)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33C5 #33CC3A
analogous
#8633CC #CC33C5 #CC3379
triadic
#CC33C5 #C5CC33 #33C5CC
tetradic
#CC33C5 #CC8633 #33CC3A #3379CC
square
#CC33C5 #CC8633 #33CC3A #3379CC
split-complementary
#CC33C5 #79CC33 #33CC86
monochromatic
#6A1B66 #9B2796 #CC33C5 #D864D3 #E495E1

Accessibility & contrast

On white

4.33
#CC33C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CC33C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33C5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33C5#FFFFFF#000000##000000
##CC33C51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6CC9
Deuteranopia (green-blind)
#6281C1
Tritanopia (blue-blind)
#D4497A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc33c5;
/* rgb */ color: rgb(204, 51, 197);
/* oklch */ color: oklch(60.9% 0.241 330.1);
Tailwind
colors: {
  custom: {
    50: '#e07bd7',
    500: '#cc33c5',
    950: '#000000',
  },
}
SCSS
$custom: #cc33c5;
$custom-light: #e07bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33c5",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 302.745,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.24074,
    "h": 330.1
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC33C5

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

Preview Lab → · Contrast checker → · Palette generator →

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