#CC33B3#CC33B3

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

Color values

HEX#CC33B3
RGBrgb(204, 51, 179)
HSLhsl(310, 60%, 50%)
HSVhsv(310, 75%, 80%)
CMYKcmyk(0%, 75%, 12.3%, 20%)
CIE-LABlab(50.05, 71.00, -34.43)
CIE-LCHlch(50.05, 78.91, 334.13°)
OKLaboklab(59.97% 0.2079 -0.094)
OKLCHoklch(59.97% 0.228 335.7)
XYZxyz(34.2229, 18.4628, 44.4004)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33B3 #33CC4C
analogous
#9933CC #CC33B3 #CC3366
triadic
#CC33B3 #B3CC33 #33B3CC
tetradic
#CC33B3 #CC9933 #33CC4C #3366CC
square
#CC33B3 #CC9933 #33CC4C #3366CC
split-complementary
#CC33B3 #66CC33 #33CC99
monochromatic
#6A1B5D #9B2788 #CC33B3 #D864C5 #E495D7

Accessibility & contrast

On white

4.48
#CC33B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CC33B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33B3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33B3#FFFFFF#000000##000000
##CC33B31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3469B6
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#D63F70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc33b3;
/* rgb */ color: rgb(204, 51, 179);
/* oklch */ color: oklch(60.0% 0.228 335.7);
Tailwind
colors: {
  custom: {
    50: '#e07aca',
    500: '#cc33b3',
    950: '#000000',
  },
}
SCSS
$custom: #cc33b3;
$custom-light: #e07aca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33b3",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 309.804,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.22819,
    "h": 335.7
  },
  "luminance": 0.1846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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