#CB34B6#CB34B6

#CB34B6 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.0% C 0.229 H 334.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CB34B6
RGBrgb(203, 52, 182)
HSLhsl(308, 59%, 50%)
HSVhsv(308, 74%, 80%)
CMYKcmyk(0%, 74.4%, 10.3%, 20.4%)
CIE-LABlab(50.14, 70.91, -36.06)
CIE-LCHlch(50.14, 79.55, 333.04°)
OKLaboklab(60.04% 0.2063 -0.0987)
OKLCHoklch(60.04% 0.229 334.4)
XYZxyz(34.3005, 18.5329, 46.0176)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34B6 #34CB49
analogous
#9434CB #CB34B6 #CB346B
triadic
#CB34B6 #B6CB34 #34B6CB
tetradic
#CB34B6 #CB9434 #34CB49 #346BCB
square
#CB34B6 #CB9434 #34CB49 #346BCB
split-complementary
#CB34B6 #6BCB34 #34CB94
monochromatic
#6A1B5F #9A288A #CB34B6 #D765C8 #E495D9

Accessibility & contrast

On white

4.46
#CB34B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CB34B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34B6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34B6#FFFFFF#000000##000000
##CB34B61.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3169BA
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#D54272
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb34b6;
/* rgb */ color: rgb(203, 52, 182);
/* oklch */ color: oklch(60.0% 0.229 334.4);
Tailwind
colors: {
  custom: {
    50: '#df7bcc',
    500: '#cb34b6',
    950: '#000000',
  },
}
SCSS
$custom: #cb34b6;
$custom-light: #df7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34b6",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 308.344,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.22869,
    "h": 334.4
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#CB34B6
secondary
#8CCF95
accent
#E25B45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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