#B42EAD#B42EAD

#B42EAD is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.217 H 330.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B42EAD
RGBrgb(180, 46, 173)
HSLhsl(303, 59%, 44%)
HSVhsv(303, 74%, 71%)
CMYKcmyk(0%, 74.4%, 3.9%, 29.4%)
CIE-LABlab(45.19, 66.32, -38.83)
CIE-LCHlch(45.19, 76.86, 329.65°)
OKLaboklab(55.61% 0.1882 -0.1072)
OKLCHoklch(55.61% 0.217 330.3)
XYZxyz(27.3421, 14.6766, 40.9199)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42EAD #2EB435
analogous
#782EB4 #B42EAD #B42E6A
triadic
#B42EAD #ADB42E #2EADB4
tetradic
#B42EAD #B4782E #2EB435 #2E6AB4
square
#B42EAD #B4782E #2EB435 #2E6AB4
split-complementary
#B42EAD #6AB42E #2EB478
monochromatic
#53154F #83227E #B42EAD #D24ECB #DE7ED9

Accessibility & contrast

On white

5.34
#B42EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B42EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42EAD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42EAD#FFFFFF#000000##FFFFFF
##B42EAD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FB0
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#BB406B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b42ead;
/* rgb */ color: rgb(180, 46, 173);
/* oklch */ color: oklch(55.6% 0.217 330.3);
Tailwind
colors: {
  custom: {
    50: '#ce75c6',
    500: '#b42ead',
    950: '#000000',
  },
}
SCSS
$custom: #b42ead;
$custom-light: #ce75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ead",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 303.134,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.21658,
    "h": 330.3
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#B42EAD
secondary
#77C77B
accent
#E24E45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B42EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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