#CB34D1#CB34D1

#CB34D1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.5% C 0.248 H 326.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CB34D1
RGBrgb(203, 52, 209)
HSLhsl(298, 63%, 51%)
HSVhsv(298, 75%, 82%)
CMYKcmyk(2.9%, 75.1%, 0%, 18%)
CIE-LABlab(51.56, 75.06, -49.42)
CIE-LCHlch(51.56, 89.87, 326.64°)
OKLaboklab(61.53% 0.2066 -0.1374)
OKLCHoklch(61.53% 0.248 326.4)
XYZxyz(37.3645, 19.7585, 62.1550)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34D1 #3AD134
analogous
#7C34D1 #CB34D1 #D13488
triadic
#CB34D1 #D1CB34 #34D1CB
tetradic
#CB34D1 #D17C34 #3AD134 #3488D1
square
#CB34D1 #D17C34 #3AD134 #3488D1
split-complementary
#CB34D1 #88D134 #34D17C
monochromatic
#6E1A71 #9E25A3 #CB34D1 #D866DC #E598E8

Accessibility & contrast

On white

4.24
#CB34D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CB34D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34D1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34D1#FFFFFF#000000##000000
##CB34D11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#5B81CD
Tritanopia (blue-blind)
#D05081
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb34d1;
/* rgb */ color: rgb(203, 52, 209);
/* oklch */ color: oklch(61.5% 0.248 326.4);
Tailwind
colors: {
  custom: {
    50: '#df7ce0',
    500: '#cb34d1',
    950: '#000000',
  },
}
SCSS
$custom: #cb34d1;
$custom-light: #df7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34d1",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 297.707,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61525,
    "c": 0.24815,
    "h": 326.4
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#CB34D1
secondary
#90D38E
accent
#E64248
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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