#CC33C4#CC33C4

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

Color values

HEX#CC33C4
RGBrgb(204, 51, 196)
HSLhsl(303, 60%, 50%)
HSVhsv(303, 75%, 80%)
CMYKcmyk(0%, 75%, 3.9%, 20%)
CIE-LABlab(50.91, 73.51, -42.96)
CIE-LCHlch(50.91, 85.15, 329.70°)
OKLaboklab(60.86% 0.2087 -0.1186)
OKLCHoklch(60.86% 0.24 330.4)
XYZxyz(36.0493, 19.1934, 54.0199)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33C4 #33CC3B
analogous
#8733CC #CC33C4 #CC3378
triadic
#CC33C4 #C4CC33 #33C4CC
tetradic
#CC33C4 #CC8733 #33CC3B #3378CC
square
#CC33C4 #CC8733 #33CC3B #3378CC
split-complementary
#CC33C4 #78CC33 #33CC87
monochromatic
#6A1B66 #9B2795 #CC33C4 #D864D2 #E495E0

Accessibility & contrast

On white

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

On black

4.84
#CC33C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33C4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33C4#FFFFFF#000000##000000
##CC33C41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC8
Deuteranopia (green-blind)
#6380C0
Tritanopia (blue-blind)
#D4487A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc33c4;
/* rgb */ color: rgb(204, 51, 196);
/* oklch */ color: oklch(60.9% 0.240 330.4);
Tailwind
colors: {
  custom: {
    50: '#e07bd6',
    500: '#cc33c4',
    950: '#000000',
  },
}
SCSS
$custom: #cc33c4;
$custom-light: #e07bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33c4",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 303.137,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.60863,
    "c": 0.24003,
    "h": 330.4
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#CC33C4
secondary
#8BD08F
accent
#E34D45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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