#CB33D6#CB33D6

#CB33D6 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.7% C 0.253 H 325.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB33D6
RGBrgb(203, 51, 214)
HSLhsl(296, 67%, 52%)
HSVhsv(296, 76%, 84%)
CMYKcmyk(5.1%, 76.2%, 0%, 16.1%)
CIE-LABlab(51.75, 76.16, -51.98)
CIE-LCHlch(51.75, 92.21, 325.68°)
OKLaboklab(61.75% 0.2072 -0.1449)
OKLCHoklch(61.75% 0.253 325)
XYZxyz(37.9491, 19.9217, 65.4518)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB33D6 #3ED633
analogous
#7A33D6 #CB33D6 #D63390
triadic
#CB33D6 #D6CB33 #33D6CB
tetradic
#CB33D6 #D67A33 #3ED633 #3390D6
square
#CB33D6 #D67A33 #3ED633 #3390D6
split-complementary
#CB33D6 #90D633 #33D67A
monochromatic
#701877 #A122AA #CB33D6 #D866E0 #E599EA

Accessibility & contrast

On white

4.21
#CB33D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB33D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB33D6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB33D6#FFFFFF#000000##000000
##CB33D61.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#5782D2
Tritanopia (blue-blind)
#CF5184
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb33d6;
/* rgb */ color: rgb(203, 51, 214);
/* oklch */ color: oklch(61.7% 0.253 325.0);
Tailwind
colors: {
  custom: {
    50: '#df7ce3',
    500: '#cb33d6',
    950: '#000000',
  },
}
SCSS
$custom: #cb33d6;
$custom-light: #df7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb33d6",
  "rgb": {
    "r": 203,
    "g": 51,
    "b": 214
  },
  "hsl": {
    "h": 295.951,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.25281,
    "h": 325
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

primary
#CB33D6
secondary
#94D68F
accent
#E93E4A
background
#FEF8FE
surface
#FCEFFC
border
#D5CAD5
text
#160B15
muted
#847C84

Preview Lab

Preview with #CB33D6

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

Preview Lab → · Contrast checker → · Palette generator →

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