#CB34C3#CB34C3

#CB34C3 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.7% C 0.238 H 330.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CB34C3
RGBrgb(203, 52, 195)
HSLhsl(303, 59%, 50%)
HSVhsv(303, 74%, 80%)
CMYKcmyk(0%, 74.4%, 3.9%, 20.4%)
CIE-LABlab(50.80, 72.85, -42.58)
CIE-LCHlch(50.80, 84.38, 329.70°)
OKLaboklab(60.73% 0.2068 -0.1175)
OKLCHoklch(60.73% 0.238 330.4)
XYZxyz(35.7068, 19.0954, 53.4243)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34C3 #34CB3C
analogous
#8834CB #CB34C3 #CB3477
triadic
#CB34C3 #C3CB34 #34C3CB
tetradic
#CB34C3 #CB8834 #34CB3C #3477CB
square
#CB34C3 #CB8834 #34CB3C #3477CB
split-complementary
#CB34C3 #77CB34 #34CB88
monochromatic
#6A1B65 #9A2894 #CB34C3 #D765D1 #E495E0

Accessibility & contrast

On white

4.36
#CB34C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CB34C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34C3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34C3#FFFFFF#000000##000000
##CB34C31.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#216CC7
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#D34879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb34c3;
/* rgb */ color: rgb(203, 52, 195);
/* oklch */ color: oklch(60.7% 0.238 330.4);
Tailwind
colors: {
  custom: {
    50: '#df7bd5',
    500: '#cb34c3',
    950: '#000000',
  },
}
SCSS
$custom: #cb34c3;
$custom-light: #df7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34c3",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 303.179,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60733,
    "c": 0.23787,
    "h": 330.4
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#CB34C3
secondary
#8CCF8F
accent
#E24E45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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