#CB34B3#CB34B3

#CB34B3 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.9% C 0.227 H 335.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CB34B3
RGBrgb(203, 52, 179)
HSLhsl(310, 59%, 50%)
HSVhsv(310, 74%, 80%)
CMYKcmyk(0%, 74.4%, 11.8%, 20.4%)
CIE-LABlab(49.99, 70.47, -34.54)
CIE-LCHlch(49.99, 78.48, 333.89°)
OKLaboklab(59.89% 0.2061 -0.0943)
OKLCHoklch(59.89% 0.227 335.4)
XYZxyz(33.9937, 18.4102, 44.4023)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34B3 #34CB4C
analogous
#9734CB #CB34B3 #CB3468
triadic
#CB34B3 #B3CB34 #34B3CB
tetradic
#CB34B3 #CB9734 #34CB4C #3468CB
square
#CB34B3 #CB9734 #34CB4C #3468CB
split-complementary
#CB34B3 #68CB34 #34CB97
monochromatic
#6A1B5D #9A2888 #CB34B3 #D765C5 #E495D7

Accessibility & contrast

On white

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

On black

4.68
#CB34B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34B3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34B3#FFFFFF#000000##000000
##CB34B31.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3469B6
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#D54070
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb34b3;
/* rgb */ color: rgb(203, 52, 179);
/* oklch */ color: oklch(59.9% 0.227 335.4);
Tailwind
colors: {
  custom: {
    50: '#df7bca',
    500: '#cb34b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb34b3;
$custom-light: #df7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34b3",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 309.536,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.59891,
    "c": 0.22664,
    "h": 335.4
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#CB34B3
secondary
#8CCF96
accent
#E25E45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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