#CB34C6#CB34C6

#CB34C6 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.9% C 0.240 H 329.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB34C6
RGBrgb(203, 52, 198)
HSLhsl(302, 59%, 50%)
HSVhsv(302, 74%, 80%)
CMYKcmyk(0%, 74.4%, 2.5%, 20.4%)
CIE-LABlab(50.96, 73.32, -44.06)
CIE-LCHlch(50.96, 85.54, 329.00°)
OKLaboklab(60.9% 0.2068 -0.1218)
OKLCHoklch(60.9% 0.24 329.5)
XYZxyz(36.0494, 19.2325, 55.2287)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34C6 #34CB39
analogous
#8534CB #CB34C6 #CB347A
triadic
#CB34C6 #C6CB34 #34C6CB
tetradic
#CB34C6 #CB8534 #34CB39 #347ACB
square
#CB34C6 #CB8534 #34CB39 #347ACB
split-complementary
#CB34C6 #7ACB34 #34CB85
monochromatic
#6A1B67 #9A2896 #CB34C6 #D765D4 #E495E1

Accessibility & contrast

On white

4.33
#CB34C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CB34C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34C6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34C6#FFFFFF#000000##000000
##CB34C61.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CCA
Deuteranopia (green-blind)
#6180C2
Tritanopia (blue-blind)
#D24A7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb34c6;
/* rgb */ color: rgb(203, 52, 198);
/* oklch */ color: oklch(60.9% 0.240 329.5);
Tailwind
colors: {
  custom: {
    50: '#df7bd8',
    500: '#cb34c6',
    950: '#000000',
  },
}
SCSS
$custom: #cb34c6;
$custom-light: #df7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34c6",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 301.987,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.24003,
    "h": 329.5
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#CB34C6
secondary
#8CCF8E
accent
#E24B45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB34C6

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

Preview Lab → · Contrast checker → · Palette generator →

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