#B42AAE#B42AAE

#B42AAE is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.221 H 330.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B42AAE
RGBrgb(180, 42, 174)
HSLhsl(303, 62%, 44%)
HSVhsv(303, 77%, 71%)
CMYKcmyk(0%, 76.7%, 3.3%, 29.4%)
CIE-LABlab(44.83, 67.68, -40.00)
CIE-LCHlch(44.83, 78.61, 329.42°)
OKLaboklab(55.37% 0.1916 -0.1105)
OKLCHoklch(55.37% 0.221 330)
XYZxyz(27.2902, 14.4174, 41.3817)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42AAE #2AB430
analogous
#752AB4 #B42AAE #B42A69
triadic
#B42AAE #AEB42A #2AAEB4
tetradic
#B42AAE #B4752A #2AB430 #2A69B4
square
#B42AAE #B4752A #2AB430 #2A69B4
split-complementary
#B42AAE #69B42A #2AB475
monochromatic
#51134E #821E7E #B42AAE #D447CE #E079DB

Accessibility & contrast

On white

5.41
#B42AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B42AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42AAE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42AAE#FFFFFF#000000##FFFFFF
##B42AAE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#5570AB
Tritanopia (blue-blind)
#BB3E6B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b42aae;
/* rgb */ color: rgb(180, 42, 174);
/* oklch */ color: oklch(55.4% 0.221 330.0);
Tailwind
colors: {
  custom: {
    50: '#ce74c7',
    500: '#b42aae',
    950: '#000000',
  },
}
SCSS
$custom: #b42aae;
$custom-light: #ce74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42aae",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 302.609,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.22123,
    "h": 330
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#B42AAE
secondary
#72C876
accent
#E54A43
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B42AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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