#B42AA3#B42AA3

#B42AA3 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.213 H 333.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B42AA3
RGBrgb(180, 42, 163)
HSLhsl(307, 62%, 44%)
HSVhsv(307, 77%, 71%)
CMYKcmyk(0%, 76.7%, 9.4%, 29.4%)
CIE-LABlab(44.24, 66.00, -34.39)
CIE-LCHlch(44.24, 74.42, 332.48°)
OKLaboklab(54.76% 0.1914 -0.0943)
OKLCHoklch(54.76% 0.213 333.8)
XYZxyz(26.2614, 14.0059, 35.9635)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42AA3 #2AB43B
analogous
#802AB4 #B42AA3 #B42A5E
triadic
#B42AA3 #A3B42A #2AA3B4
tetradic
#B42AA3 #B4802A #2AB43B #2A5EB4
square
#B42AA3 #B4802A #2AB43B #2A5EB4
split-complementary
#B42AA3 #5EB42A #2AB480
monochromatic
#511349 #821E76 #B42AA3 #D447C3 #E079D3

Accessibility & contrast

On white

5.53
#B42AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B42AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42AA3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42AA3#FFFFFF#000000##FFFFFF
##B42AA31.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#BC3865
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b42aa3;
/* rgb */ color: rgb(180, 42, 163);
/* oklch */ color: oklch(54.8% 0.213 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce73be',
    500: '#b42aa3',
    950: '#000000',
  },
}
SCSS
$custom: #b42aa3;
$custom-light: #ce73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b42aa3",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 307.391,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.21334,
    "h": 333.8
  },
  "luminance": 0.14004
}

Semantic roles & 50–950 ramp

primary
#B42AA3
secondary
#72C87D
accent
#E55743
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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