#CB34B2#CB34B2

#CB34B2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.226 H 335.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CB34B2
RGBrgb(203, 52, 178)
HSLhsl(310, 59%, 50%)
HSVhsv(310, 74%, 80%)
CMYKcmyk(0%, 74.4%, 12.3%, 20.4%)
CIE-LABlab(49.94, 70.33, -34.03)
CIE-LCHlch(49.94, 78.13, 334.18°)
OKLaboklab(59.84% 0.206 -0.0929)
OKLCHoklch(59.84% 0.226 335.7)
XYZxyz(33.8930, 18.3699, 43.8716)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34B2 #34CB4D
analogous
#9934CB #CB34B2 #CB3466
triadic
#CB34B2 #B2CB34 #34B2CB
tetradic
#CB34B2 #CB9934 #34CB4D #3466CB
square
#CB34B2 #CB9934 #34CB4D #3466CB
split-complementary
#CB34B2 #66CB34 #34CB99
monochromatic
#6A1B5D #9A2887 #CB34B2 #D765C4 #E495D7

Accessibility & contrast

On white

4.49
#CB34B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#CB34B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34B2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34B2#FFFFFF#000000##000000
##CB34B21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#D54070
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb34b2;
/* rgb */ color: rgb(203, 52, 178);
/* oklch */ color: oklch(59.8% 0.226 335.7);
Tailwind
colors: {
  custom: {
    50: '#df7bc9',
    500: '#cb34b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb34b2;
$custom-light: #df7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34b2",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 309.934,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.22596,
    "h": 335.7
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#CB34B2
secondary
#8CCF97
accent
#E25F45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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