#B42AA0#B42AA0

#B42AA0 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.211 H 334.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B42AA0
RGBrgb(180, 42, 160)
HSLhsl(309, 62%, 44%)
HSVhsv(309, 77%, 71%)
CMYKcmyk(0%, 76.7%, 11.1%, 29.4%)
CIE-LABlab(44.09, 65.55, -32.83)
CIE-LCHlch(44.09, 73.32, 333.40°)
OKLaboklab(54.61% 0.1912 -0.0898)
OKLCHoklch(54.61% 0.211 334.8)
XYZxyz(25.9958, 13.8996, 34.5647)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42AA0 #2AB43E
analogous
#832AB4 #B42AA0 #B42A5B
triadic
#B42AA0 #A0B42A #2AA0B4
tetradic
#B42AA0 #B4832A #2AB43E #2A5BB4
square
#B42AA0 #B4832A #2AB43E #2A5BB4
split-complementary
#B42AA0 #5BB42A #2AB483
monochromatic
#511348 #821E74 #B42AA0 #D447C0 #E079D1

Accessibility & contrast

On white

5.56
#B42AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B42AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42AA0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42AA0#FFFFFF#000000##FFFFFF
##B42AA01.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA3
Deuteranopia (green-blind)
#5C6F9D
Tritanopia (blue-blind)
#BD3763
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b42aa0;
/* rgb */ color: rgb(180, 42, 160);
/* oklch */ color: oklch(54.6% 0.211 334.8);
Tailwind
colors: {
  custom: {
    50: '#ce73bc',
    500: '#b42aa0',
    950: '#000000',
  },
}
SCSS
$custom: #b42aa0;
$custom-light: #ce73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b42aa0",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 308.696,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.21125,
    "h": 334.8
  },
  "luminance": 0.13897
}

Semantic roles & 50–950 ramp

primary
#B42AA0
secondary
#72C87F
accent
#E55A43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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