#CC33CC#CC33CC

#CC33CC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.3% C 0.246 H 328.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC33CC
RGBrgb(204, 51, 204)
HSLhsl(300, 60%, 50%)
HSVhsv(300, 75%, 80%)
CMYKcmyk(0%, 75%, 0%, 20%)
CIE-LABlab(51.34, 74.75, -46.89)
CIE-LCHlch(51.34, 88.24, 327.90°)
OKLaboklab(61.31% 0.2086 -0.13)
OKLCHoklch(61.31% 0.246 328.1)
XYZxyz(36.9843, 19.5674, 58.9440)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33CC #33CC33
analogous
#7F33CC #CC33CC #CC3380
triadic
#CC33CC #CCCC33 #33CCCC
tetradic
#CC33CC #CC8033 #33CC33 #337FCC
square
#CC33CC #CC8033 #33CC33 #337FCC
split-complementary
#CC33CC #80CC33 #33CC80
monochromatic
#6A1B6A #9B279B #CC33CC #D864D8 #E495E4

Accessibility & contrast

On white

4.27
#CC33CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC33CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33CC#FFFFFF#000000##000000
##CC33CC1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A6ED0
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#D24C7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc33cc;
/* rgb */ color: rgb(204, 51, 204);
/* oklch */ color: oklch(61.3% 0.246 328.1);
Tailwind
colors: {
  custom: {
    50: '#e07bdc',
    500: '#cc33cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc33cc;
$custom-light: #e07bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33cc",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.24582,
    "h": 328.1
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#CC33CC
secondary
#8BD08B
accent
#E34545
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC33CC

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

Preview Lab → · Contrast checker → · Palette generator →

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