#CB34C9#CB34C9

#CB34C9 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.1% C 0.242 H 328.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CB34C9
RGBrgb(203, 52, 201)
HSLhsl(301, 59%, 50%)
HSVhsv(301, 74%, 80%)
CMYKcmyk(0%, 74.4%, 1%, 20.4%)
CIE-LABlab(51.12, 73.78, -45.53)
CIE-LCHlch(51.12, 86.70, 328.32°)
OKLaboklab(61.07% 0.2068 -0.1261)
OKLCHoklch(61.07% 0.242 328.6)
XYZxyz(36.3988, 19.3723, 57.0691)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34C9 #34CB36
analogous
#8234CB #CB34C9 #CB347D
triadic
#CB34C9 #C9CB34 #34C9CB
tetradic
#CB34C9 #CB8234 #34CB36 #347DCB
square
#CB34C9 #CB8234 #34CB36 #347DCB
split-complementary
#CB34C9 #7DCB34 #34CB82
monochromatic
#6A1B69 #9A2899 #CB34C9 #D765D6 #E495E3

Accessibility & contrast

On white

4.31
#CB34C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CB34C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34C9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34C9#FFFFFF#000000##000000
##CB34C91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#156DCD
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#D24C7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb34c9;
/* rgb */ color: rgb(203, 52, 201);
/* oklch */ color: oklch(61.1% 0.242 328.6);
Tailwind
colors: {
  custom: {
    50: '#df7cda',
    500: '#cb34c9',
    950: '#000000',
  },
}
SCSS
$custom: #cb34c9;
$custom-light: #df7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34c9",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 300.795,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.61067,
    "c": 0.24223,
    "h": 328.6
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#CB34C9
secondary
#8CCF8C
accent
#E24745
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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