#B42EAE#B42EAE

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

Color values

HEX#B42EAE
RGBrgb(180, 46, 174)
HSLhsl(303, 59%, 44%)
HSVhsv(303, 74%, 71%)
CMYKcmyk(0%, 74.4%, 3.3%, 29.4%)
CIE-LABlab(45.24, 66.48, -39.34)
CIE-LCHlch(45.24, 77.25, 329.39°)
OKLaboklab(55.67% 0.1882 -0.1086)
OKLCHoklch(55.67% 0.217 330)
XYZxyz(27.4392, 14.7154, 41.4314)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42EAE #2EB434
analogous
#772EB4 #B42EAE #B42E6B
triadic
#B42EAE #AEB42E #2EAEB4
tetradic
#B42EAE #B4772E #2EB434 #2E6BB4
square
#B42EAE #B4772E #2EB434 #2E6BB4
split-complementary
#B42EAE #6BB42E #2EB477
monochromatic
#531550 #83227F #B42EAE #D24ECC #DE7EDA

Accessibility & contrast

On white

5.33
#B42EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B42EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42EAE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42EAE#FFFFFF#000000##FFFFFF
##B42EAE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B1
Deuteranopia (green-blind)
#5771AB
Tritanopia (blue-blind)
#BB416C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b42eae;
/* rgb */ color: rgb(180, 46, 174);
/* oklch */ color: oklch(55.7% 0.217 330.0);
Tailwind
colors: {
  custom: {
    50: '#ce75c6',
    500: '#b42eae',
    950: '#000000',
  },
}
SCSS
$custom: #b42eae;
$custom-light: #ce75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42eae",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 302.687,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.21732,
    "h": 330
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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