#B42FAD#B42FAD

#B42FAD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.216 H 330.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B42FAD
RGBrgb(180, 47, 173)
HSLhsl(303, 59%, 45%)
HSVhsv(303, 74%, 71%)
CMYKcmyk(0%, 73.9%, 3.9%, 29.4%)
CIE-LABlab(45.30, 66.01, -38.66)
CIE-LCHlch(45.30, 76.50, 329.64°)
OKLaboklab(55.69% 0.1873 -0.1067)
OKLCHoklch(55.69% 0.216 330.3)
XYZxyz(27.3816, 14.7556, 40.9330)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42FAD #2FB436
analogous
#792FB4 #B42FAD #B42F6B
triadic
#B42FAD #ADB42F #2FADB4
tetradic
#B42FAD #B4792F #2FB436 #2F6BB4
square
#B42FAD #B4792F #2FB436 #2F6BB4
split-complementary
#B42FAD #6BB42F #2FB479
monochromatic
#531650 #83227E #B42FAD #D14FCA #DE80D9

Accessibility & contrast

On white

5.32
#B42FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B42FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42FAD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42FAD#FFFFFF#000000##FFFFFF
##B42FAD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B0
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#BB416C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b42fad;
/* rgb */ color: rgb(180, 47, 173);
/* oklch */ color: oklch(55.7% 0.216 330.3);
Tailwind
colors: {
  custom: {
    50: '#ce75c6',
    500: '#b42fad',
    950: '#000000',
  },
}
SCSS
$custom: #b42fad;
$custom-light: #ce75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42fad",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 303.158,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.21555,
    "h": 330.3
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#B42FAD
secondary
#78C77C
accent
#E24E46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B42FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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