#CB34C4#CB34C4

#CB34C4 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.8% C 0.239 H 330.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CB34C4
RGBrgb(203, 52, 196)
HSLhsl(303, 59%, 50%)
HSVhsv(303, 74%, 80%)
CMYKcmyk(0%, 74.4%, 3.4%, 20.4%)
CIE-LABlab(50.85, 73.01, -43.07)
CIE-LCHlch(50.85, 84.76, 329.46°)
OKLaboklab(60.79% 0.2068 -0.1189)
OKLCHoklch(60.79% 0.239 330.1)
XYZxyz(35.8202, 19.1408, 54.0218)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34C4 #34CB3B
analogous
#8634CB #CB34C4 #CB3479
triadic
#CB34C4 #C4CB34 #34C4CB
tetradic
#CB34C4 #CB8634 #34CB3B #3479CB
square
#CB34C4 #CB8634 #34CB3B #3479CB
split-complementary
#CB34C4 #79CB34 #34CB86
monochromatic
#6A1B66 #9A2895 #CB34C4 #D765D2 #E495E0

Accessibility & contrast

On white

4.35
#CB34C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CB34C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34C4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34C4#FFFFFF#000000##000000
##CB34C41.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC8
Deuteranopia (green-blind)
#6280C0
Tritanopia (blue-blind)
#D3497A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb34c4;
/* rgb */ color: rgb(203, 52, 196);
/* oklch */ color: oklch(60.8% 0.239 330.1);
Tailwind
colors: {
  custom: {
    50: '#df7bd6',
    500: '#cb34c4',
    950: '#000000',
  },
}
SCSS
$custom: #cb34c4;
$custom-light: #df7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34c4",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 302.781,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.23859,
    "h": 330.1
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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