#CC33B4#CC33B4

#CC33B4 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.0% C 0.229 H 335.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC33B4
RGBrgb(204, 51, 180)
HSLhsl(309, 60%, 50%)
HSVhsv(309, 75%, 80%)
CMYKcmyk(0%, 75%, 11.8%, 20%)
CIE-LABlab(50.10, 71.14, -34.94)
CIE-LCHlch(50.10, 79.26, 333.85°)
OKLaboklab(60.02% 0.208 -0.0954)
OKLCHoklch(60.02% 0.229 335.3)
XYZxyz(34.3244, 18.5034, 44.9349)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33B4 #33CC4B
analogous
#9833CC #CC33B4 #CC3367
triadic
#CC33B4 #B4CC33 #33B4CC
tetradic
#CC33B4 #CC9833 #33CC4B #3367CC
square
#CC33B4 #CC9833 #33CC4B #3367CC
split-complementary
#CC33B4 #67CC33 #33CC98
monochromatic
#6A1B5E #9B2789 #CC33B4 #D864C6 #E495D8

Accessibility & contrast

On white

4.47
#CC33B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CC33B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33B4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33B4#FFFFFF#000000##000000
##CC33B41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3369B7
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#D64071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc33b4;
/* rgb */ color: rgb(204, 51, 180);
/* oklch */ color: oklch(60.0% 0.229 335.3);
Tailwind
colors: {
  custom: {
    50: '#e07bcb',
    500: '#cc33b4',
    950: '#000000',
  },
}
SCSS
$custom: #cc33b4;
$custom-light: #e07bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33b4",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 309.412,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.22886,
    "h": 335.3
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#CC33B4
secondary
#8BD096
accent
#E35E45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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