#CB33C2#CB33C2

#CB33C2 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.238 H 330.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB33C2
RGBrgb(203, 51, 194)
HSLhsl(304, 60%, 50%)
HSVhsv(304, 75%, 80%)
CMYKcmyk(0%, 74.9%, 4.4%, 20.4%)
CIE-LABlab(50.64, 73.00, -42.24)
CIE-LCHlch(50.64, 84.34, 329.94°)
OKLaboklab(60.61% 0.2077 -0.1165)
OKLCHoklch(60.61% 0.238 330.7)
XYZxyz(35.5500, 18.9621, 52.8162)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB33C2 #33CB3C
analogous
#8833CB #CB33C2 #CB3376
triadic
#CB33C2 #C2CB33 #33C2CB
tetradic
#CB33C2 #CB8833 #33CB3C #3376CB
square
#CB33C2 #CB8833 #33CB3C #3376CB
split-complementary
#CB33C2 #76CB33 #33CB88
monochromatic
#691A65 #9A2793 #CB33C2 #D863D1 #E494DF

Accessibility & contrast

On white

4.38
#CB33C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CB33C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB33C2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB33C2#FFFFFF#000000##000000
##CB33C21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#D34779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb33c2;
/* rgb */ color: rgb(203, 51, 194);
/* oklch */ color: oklch(60.6% 0.238 330.7);
Tailwind
colors: {
  custom: {
    50: '#df7bd5',
    500: '#cb33c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb33c2;
$custom-light: #df7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb33c2",
  "rgb": {
    "r": 203,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 303.553,
    "s": 59.843,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.23812,
    "h": 330.7
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#CB33C2
secondary
#8BCF8F
accent
#E34E45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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