#CB33C9#CB33C9

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

Color values

HEX#CB33C9
RGBrgb(203, 51, 201)
HSLhsl(301, 60%, 50%)
HSVhsv(301, 75%, 80%)
CMYKcmyk(0%, 74.9%, 1%, 20.4%)
CIE-LABlab(51.02, 74.08, -45.69)
CIE-LCHlch(51.02, 87.04, 328.33°)
OKLaboklab(60.99% 0.2077 -0.1265)
OKLCHoklch(60.99% 0.243 328.6)
XYZxyz(36.3547, 19.2839, 57.0544)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB33C9 #33CB35
analogous
#8133CB #CB33C9 #CB337D
triadic
#CB33C9 #C9CB33 #33C9CB
tetradic
#CB33C9 #CB8133 #33CB35 #337DCB
square
#CB33C9 #CB8133 #33CB35 #337DCB
split-complementary
#CB33C9 #7DCB33 #33CB81
monochromatic
#691A68 #9A2799 #CB33C9 #D863D6 #E494E3

Accessibility & contrast

On white

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

On black

4.86
#CB33C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB33C9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB33C9#FFFFFF#000000##000000
##CB33C91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#126DCD
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#D24B7C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb33c9;
/* rgb */ color: rgb(203, 51, 201);
/* oklch */ color: oklch(61.0% 0.243 328.6);
Tailwind
colors: {
  custom: {
    50: '#df7bda',
    500: '#cb33c9',
    950: '#000000',
  },
}
SCSS
$custom: #cb33c9;
$custom-light: #df7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#cb33c9",
  "rgb": {
    "r": 203,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 300.789,
    "s": 59.843,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.24317,
    "h": 328.6
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#CB33C9
secondary
#8BCF8B
accent
#E34745
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB33C9

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

Preview Lab → · Contrast checker → · Palette generator →

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