#CB34BF#CB34BF

#CB34BF is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.5% C 0.235 H 331.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB34BF
RGBrgb(203, 52, 191)
HSLhsl(305, 59%, 50%)
HSVhsv(305, 74%, 80%)
CMYKcmyk(0%, 74.4%, 5.9%, 20.4%)
CIE-LABlab(50.59, 72.24, -40.59)
CIE-LCHlch(50.59, 82.86, 330.67°)
OKLaboklab(60.52% 0.2067 -0.1118)
OKLCHoklch(60.52% 0.235 331.6)
XYZxyz(35.2606, 18.9170, 51.0743)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34BF #34CB40
analogous
#8B34CB #CB34BF #CB3474
triadic
#CB34BF #BFCB34 #34BFCB
tetradic
#CB34BF #CB8B34 #34CB40 #3474CB
square
#CB34BF #CB8B34 #34CB40 #3474CB
split-complementary
#CB34BF #74CB34 #34CB8B
monochromatic
#6A1B63 #9A2891 #CB34BF #D765CE #E495DE

Accessibility & contrast

On white

4.39
#CB34BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CB34BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34BF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34BF#FFFFFF#000000##000000
##CB34BF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#6580BB
Tritanopia (blue-blind)
#D34677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb34bf;
/* rgb */ color: rgb(203, 52, 191);
/* oklch */ color: oklch(60.5% 0.235 331.6);
Tailwind
colors: {
  custom: {
    50: '#df7bd3',
    500: '#cb34bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb34bf;
$custom-light: #df7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34bf",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 304.768,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.60516,
    "c": 0.235,
    "h": 331.6
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#CB34BF
secondary
#8CCF91
accent
#E25245
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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