#B42AAD#B42AAD

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

Color values

HEX#B42AAD
RGBrgb(180, 42, 173)
HSLhsl(303, 62%, 44%)
HSVhsv(303, 77%, 71%)
CMYKcmyk(0%, 76.7%, 3.9%, 29.4%)
CIE-LABlab(44.77, 67.52, -39.49)
CIE-LCHlch(44.77, 78.22, 329.68°)
OKLaboklab(55.31% 0.1916 -0.1091)
OKLCHoklch(55.31% 0.221 330.4)
XYZxyz(27.1931, 14.3785, 40.8702)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42AAD #2AB431
analogous
#762AB4 #B42AAD #B42A68
triadic
#B42AAD #ADB42A #2AADB4
tetradic
#B42AAD #B4762A #2AB431 #2A68B4
square
#B42AAD #B4762A #2AB431 #2A68B4
split-complementary
#B42AAD #68B42A #2AB476
monochromatic
#51134E #821E7D #B42AAD #D447CD #E079DA

Accessibility & contrast

On white

5.42
#B42AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42AAD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42AAD#FFFFFF#000000##FFFFFF
##B42AAD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB0
Deuteranopia (green-blind)
#5670AA
Tritanopia (blue-blind)
#BB3E6A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b42aad;
/* rgb */ color: rgb(180, 42, 173);
/* oklch */ color: oklch(55.3% 0.221 330.4);
Tailwind
colors: {
  custom: {
    50: '#ce74c6',
    500: '#b42aad',
    950: '#000000',
  },
}
SCSS
$custom: #b42aad;
$custom-light: #ce74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42aad",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 303.043,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55314,
    "c": 0.2205,
    "h": 330.4
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#B42AAD
secondary
#72C877
accent
#E54B43
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B42AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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