#CB34B5#CB34B5

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

Color values

HEX#CB34B5
RGBrgb(203, 52, 181)
HSLhsl(309, 59%, 50%)
HSVhsv(309, 74%, 80%)
CMYKcmyk(0%, 74.4%, 10.8%, 20.4%)
CIE-LABlab(50.09, 70.76, -35.55)
CIE-LCHlch(50.09, 79.19, 333.32°)
OKLaboklab(59.99% 0.2062 -0.0973)
OKLCHoklch(59.99% 0.228 334.7)
XYZxyz(34.1975, 18.4917, 45.4753)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34B5 #34CB4A
analogous
#9634CB #CB34B5 #CB3469
triadic
#CB34B5 #B5CB34 #34B5CB
tetradic
#CB34B5 #CB9634 #34CB4A #3469CB
square
#CB34B5 #CB9634 #34CB4A #3469CB
split-complementary
#CB34B5 #69CB34 #34CB96
monochromatic
#6A1B5E #9A288A #CB34B5 #D765C7 #E495D9

Accessibility & contrast

On white

4.47
#CB34B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CB34B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34B5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34B5#FFFFFF#000000##000000
##CB34B51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#D54172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb34b5;
/* rgb */ color: rgb(203, 52, 181);
/* oklch */ color: oklch(60.0% 0.228 334.7);
Tailwind
colors: {
  custom: {
    50: '#df7bcb',
    500: '#cb34b5',
    950: '#000000',
  },
}
SCSS
$custom: #cb34b5;
$custom-light: #df7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34b5",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 308.742,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.228,
    "h": 334.7
  },
  "luminance": 0.18489
}

Semantic roles & 50–950 ramp

primary
#CB34B5
secondary
#8CCF95
accent
#E25C45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB34B5

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

Preview Lab → · Contrast checker → · Palette generator →

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