#CB34C7#CB34C7

#CB34C7 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.0% C 0.241 H 329.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CB34C7
RGBrgb(203, 52, 199)
HSLhsl(302, 59%, 50%)
HSVhsv(302, 74%, 80%)
CMYKcmyk(0%, 74.4%, 2%, 20.4%)
CIE-LABlab(51.01, 73.47, -44.55)
CIE-LCHlch(51.01, 85.92, 328.77°)
OKLaboklab(60.95% 0.2068 -0.1232)
OKLCHoklch(60.95% 0.241 329.2)
XYZxyz(36.1651, 19.2788, 55.8382)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34C7 #34CB38
analogous
#8334CB #CB34C7 #CB347C
triadic
#CB34C7 #C7CB34 #34C7CB
tetradic
#CB34C7 #CB8334 #34CB38 #347CCB
square
#CB34C7 #CB8334 #34CB38 #347CCB
split-complementary
#CB34C7 #7CCB34 #34CB83
monochromatic
#6A1B67 #9A2897 #CB34C7 #D765D4 #E495E2

Accessibility & contrast

On white

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

On black

4.86
#CB34C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34C7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34C7#FFFFFF#000000##000000
##CB34C71.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#6180C3
Tritanopia (blue-blind)
#D24B7C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb34c7;
/* rgb */ color: rgb(203, 52, 199);
/* oklch */ color: oklch(61.0% 0.241 329.2);
Tailwind
colors: {
  custom: {
    50: '#df7cd8',
    500: '#cb34c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb34c7;
$custom-light: #df7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34c7",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 301.589,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60954,
    "c": 0.24076,
    "h": 329.2
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#CB34C7
secondary
#8CCF8D
accent
#E24A45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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