#CB34C1#CB34C1

#CB34C1 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.236 H 331.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CB34C1
RGBrgb(203, 52, 193)
HSLhsl(304, 59%, 50%)
HSVhsv(304, 74%, 80%)
CMYKcmyk(0%, 74.4%, 4.9%, 20.4%)
CIE-LABlab(50.69, 72.55, -41.58)
CIE-LCHlch(50.69, 83.62, 330.18°)
OKLaboklab(60.62% 0.2068 -0.1146)
OKLCHoklch(60.62% 0.236 331)
XYZxyz(35.4822, 19.0056, 52.2414)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34C1 #34CB3E
analogous
#8A34CB #CB34C1 #CB3475
triadic
#CB34C1 #C1CB34 #34C1CB
tetradic
#CB34C1 #CB8A34 #34CB3E #3475CB
square
#CB34C1 #CB8A34 #34CB3E #3475CB
split-complementary
#CB34C1 #75CB34 #34CB8A
monochromatic
#6A1B64 #9A2893 #CB34C1 #D765D0 #E495DF

Accessibility & contrast

On white

4.37
#CB34C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CB34C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34C1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34C1#FFFFFF#000000##000000
##CB34C11.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#246BC5
Deuteranopia (green-blind)
#6480BD
Tritanopia (blue-blind)
#D34778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb34c1;
/* rgb */ color: rgb(203, 52, 193);
/* oklch */ color: oklch(60.6% 0.236 331.0);
Tailwind
colors: {
  custom: {
    50: '#df7bd4',
    500: '#cb34c1',
    950: '#000000',
  },
}
SCSS
$custom: #cb34c1;
$custom-light: #df7bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34c1",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 303.974,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.23642,
    "h": 331
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#CB34C1
secondary
#8CCF90
accent
#E25045
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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