#CC33CB#CC33CB

#CC33CB is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.3% C 0.245 H 328.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC33CB
RGBrgb(204, 51, 203)
HSLhsl(300, 60%, 50%)
HSVhsv(300, 75%, 80%)
CMYKcmyk(0%, 75%, 0.5%, 20%)
CIE-LABlab(51.29, 74.60, -46.40)
CIE-LCHlch(51.29, 87.85, 328.12°)
OKLaboklab(61.25% 0.2087 -0.1286)
OKLCHoklch(61.25% 0.245 328.4)
XYZxyz(36.8648, 19.5196, 58.3143)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33CB #33CC34
analogous
#8033CC #CC33CB #CC337F
triadic
#CC33CB #CBCC33 #33CBCC
tetradic
#CC33CB #CC8033 #33CC34 #337FCC
square
#CC33CB #CC8033 #33CC34 #337FCC
split-complementary
#CC33CB #7FCC33 #33CC80
monochromatic
#6A1B6A #9B279A #CC33CB #D864D7 #E495E4

Accessibility & contrast

On white

4.28
#CC33CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC33CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33CB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33CB#FFFFFF#000000##000000
##CC33CB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCF
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#D34C7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc33cb;
/* rgb */ color: rgb(204, 51, 203);
/* oklch */ color: oklch(61.3% 0.245 328.4);
Tailwind
colors: {
  custom: {
    50: '#e07bdb',
    500: '#cc33cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc33cb;
$custom-light: #e07bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33cb",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 203
  },
  "hsl": {
    "h": 300.392,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.24509,
    "h": 328.4
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#CC33CB
secondary
#8BD08C
accent
#E34645
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC33CB

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

Preview Lab → · Contrast checker → · Palette generator →

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