#B42BB3#B42BB3

#B42BB3 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.224 H 328.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B42BB3
RGBrgb(180, 43, 179)
HSLhsl(300, 61%, 44%)
HSVhsv(300, 76%, 71%)
CMYKcmyk(0%, 76.1%, 0.6%, 29.4%)
CIE-LABlab(45.20, 68.18, -42.35)
CIE-LCHlch(45.20, 80.26, 328.15°)
OKLaboklab(55.73% 0.1908 -0.1174)
OKLCHoklch(55.73% 0.224 328.4)
XYZxyz(27.8226, 14.6878, 44.0087)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42BB3 #2BB42C
analogous
#702BB4 #B42BB3 #B42B6E
triadic
#B42BB3 #B3B42B #2BB3B4
tetradic
#B42BB3 #B4702B #2BB42C #2B6EB4
square
#B42BB3 #B4702B #2BB42C #2B6EB4
split-complementary
#B42BB3 #6EB42B #2BB470
monochromatic
#511351 #831F82 #B42BB3 #D349D2 #DF7ADF

Accessibility & contrast

On white

5.33
#B42BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B42BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42BB3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42BB3#FFFFFF#000000##FFFFFF
##B42BB31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0960B7
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#BA416E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b42bb3;
/* rgb */ color: rgb(180, 43, 179);
/* oklch */ color: oklch(55.7% 0.224 328.4);
Tailwind
colors: {
  custom: {
    50: '#ce74ca',
    500: '#b42bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b42bb3;
$custom-light: #ce74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b42bb3",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 300.438,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5573,
    "c": 0.22398,
    "h": 328.4
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#B42BB3
secondary
#73C774
accent
#E54443
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B42BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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