#CC33C7#CC33C7

#CC33C7 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.0% C 0.242 H 329.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC33C7
RGBrgb(204, 51, 199)
HSLhsl(302, 60%, 50%)
HSVhsv(302, 75%, 80%)
CMYKcmyk(0%, 75%, 2.5%, 20%)
CIE-LABlab(51.07, 73.97, -44.44)
CIE-LCHlch(51.07, 86.30, 329.00°)
OKLaboklab(61.03% 0.2087 -0.1229)
OKLCHoklch(61.03% 0.242 329.5)
XYZxyz(36.3942, 19.3314, 55.8362)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33C7 #33CC38
analogous
#8533CC #CC33C7 #CC337A
triadic
#CC33C7 #C7CC33 #33C7CC
tetradic
#CC33C7 #CC8533 #33CC38 #337ACC
square
#CC33C7 #CC8533 #33CC38 #337ACC
split-complementary
#CC33C7 #7ACC33 #33CC85
monochromatic
#6A1B67 #9B2797 #CC33C7 #D864D4 #E495E2

Accessibility & contrast

On white

4.32
#CC33C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC33C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33C7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33C7#FFFFFF#000000##000000
##CC33C71.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#196DCB
Deuteranopia (green-blind)
#6181C3
Tritanopia (blue-blind)
#D34A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc33c7;
/* rgb */ color: rgb(204, 51, 199);
/* oklch */ color: oklch(61.0% 0.242 329.5);
Tailwind
colors: {
  custom: {
    50: '#e07bd8',
    500: '#cc33c7',
    950: '#000000',
  },
}
SCSS
$custom: #cc33c7;
$custom-light: #e07bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33c7",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 301.961,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.24219,
    "h": 329.5
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#CC33C7
secondary
#8BD08D
accent
#E34A45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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