#B42BB0#B42BB0

#B42BB0 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.222 H 329.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B42BB0
RGBrgb(180, 43, 176)
HSLhsl(302, 61%, 44%)
HSVhsv(302, 76%, 71%)
CMYKcmyk(0%, 76.1%, 2.2%, 29.4%)
CIE-LABlab(45.04, 67.70, -40.85)
CIE-LCHlch(45.04, 79.07, 328.90°)
OKLaboklab(55.56% 0.1908 -0.113)
OKLCHoklch(55.56% 0.222 329.4)
XYZxyz(27.5225, 14.5678, 42.4282)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42BB0 #2BB42F
analogous
#732BB4 #B42BB0 #B42B6B
triadic
#B42BB0 #B0B42B #2BB0B4
tetradic
#B42BB0 #B4732B #2BB42F #2B6BB4
square
#B42BB0 #B4732B #2BB42F #2B6BB4
split-complementary
#B42BB0 #6BB42B #2BB473
monochromatic
#51134F #831F80 #B42BB0 #D349CF #DF7ADC

Accessibility & contrast

On white

5.37
#B42BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B42BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42BB0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42BB0#FFFFFF#000000##FFFFFF
##B42BB01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB4
Deuteranopia (green-blind)
#5471AD
Tritanopia (blue-blind)
#BA406C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b42bb0;
/* rgb */ color: rgb(180, 43, 176);
/* oklch */ color: oklch(55.6% 0.222 329.4);
Tailwind
colors: {
  custom: {
    50: '#ce74c8',
    500: '#b42bb0',
    950: '#000000',
  },
}
SCSS
$custom: #b42bb0;
$custom-light: #ce74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b42bb0",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 301.752,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.22176,
    "h": 329.4
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#B42BB0
secondary
#73C776
accent
#E54843
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B42BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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