#CB34B8#CB34B8

#CB34B8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.230 H 333.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CB34B8
RGBrgb(203, 52, 184)
HSLhsl(308, 59%, 50%)
HSVhsv(308, 74%, 80%)
CMYKcmyk(0%, 74.4%, 9.4%, 20.4%)
CIE-LABlab(50.24, 71.20, -37.07)
CIE-LCHlch(50.24, 80.27, 332.49°)
OKLaboklab(60.15% 0.2064 -0.1016)
OKLCHoklch(60.15% 0.23 333.8)
XYZxyz(34.5086, 18.6162, 47.1139)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34B8 #34CB47
analogous
#9334CB #CB34B8 #CB346C
triadic
#CB34B8 #B8CB34 #34B8CB
tetradic
#CB34B8 #CB9334 #34CB47 #346CCB
square
#CB34B8 #CB9334 #34CB47 #346CCB
split-complementary
#CB34B8 #6CCB34 #34CB93
monochromatic
#6A1B60 #9A288C #CB34B8 #D765C9 #E495DA

Accessibility & contrast

On white

4.45
#CB34B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CB34B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34B8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34B8#FFFFFF#000000##000000
##CB34B81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABC
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#D44373
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb34b8;
/* rgb */ color: rgb(203, 52, 184);
/* oklch */ color: oklch(60.1% 0.230 333.8);
Tailwind
colors: {
  custom: {
    50: '#df7bce',
    500: '#cb34b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb34b8;
$custom-light: #df7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34b8",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 307.55,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60147,
    "c": 0.23007,
    "h": 333.8
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#CB34B8
secondary
#8CCF94
accent
#E25945
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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