#CB34B9#CB34B9

#CB34B9 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.2% C 0.231 H 333.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB34B9
RGBrgb(203, 52, 185)
HSLhsl(307, 59%, 50%)
HSVhsv(307, 74%, 80%)
CMYKcmyk(0%, 74.4%, 8.9%, 20.4%)
CIE-LABlab(50.28, 71.35, -37.58)
CIE-LCHlch(50.28, 80.64, 332.22°)
OKLaboklab(60.2% 0.2065 -0.1031)
OKLCHoklch(60.2% 0.231 333.5)
XYZxyz(34.6138, 18.6583, 47.6679)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34B9 #34CB46
analogous
#9134CB #CB34B9 #CB346E
triadic
#CB34B9 #B9CB34 #34B9CB
tetradic
#CB34B9 #CB9134 #34CB46 #346ECB
square
#CB34B9 #CB9134 #34CB46 #346ECB
split-complementary
#CB34B9 #6ECB34 #34CB91
monochromatic
#6A1B60 #9A288D #CB34B9 #D765CA #E495DB

Accessibility & contrast

On white

4.44
#CB34B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CB34B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34B9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34B9#FFFFFF#000000##000000
##CB34B91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#687FB5
Tritanopia (blue-blind)
#D44374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb34b9;
/* rgb */ color: rgb(203, 52, 185);
/* oklch */ color: oklch(60.2% 0.231 333.5);
Tailwind
colors: {
  custom: {
    50: '#df7bce',
    500: '#cb34b9',
    950: '#000000',
  },
}
SCSS
$custom: #cb34b9;
$custom-light: #df7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34b9",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 307.152,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.23077,
    "h": 333.5
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

primary
#CB34B9
secondary
#8CCF94
accent
#E25845
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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