#B42EA3#B42EA3

#B42EA3 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.209 H 333.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B42EA3
RGBrgb(180, 46, 163)
HSLhsl(308, 59%, 44%)
HSVhsv(308, 74%, 71%)
CMYKcmyk(0%, 74.4%, 9.4%, 29.4%)
CIE-LABlab(44.67, 64.78, -33.72)
CIE-LCHlch(44.67, 73.03, 332.51°)
OKLaboklab(55.07% 0.1878 -0.0924)
OKLCHoklch(55.07% 0.209 333.8)
XYZxyz(26.4105, 14.3039, 36.0132)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42EA3 #2EB43F
analogous
#822EB4 #B42EA3 #B42E60
triadic
#B42EA3 #A3B42E #2EA3B4
tetradic
#B42EA3 #B4822E #2EB43F #2E60B4
square
#B42EA3 #B4822E #2EB43F #2E60B4
split-complementary
#B42EA3 #60B42E #2EB482
monochromatic
#53154B #832277 #B42EA3 #D24EC1 #DE7ED2

Accessibility & contrast

On white

5.44
#B42EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B42EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42EA3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42EA3#FFFFFF#000000##FFFFFF
##B42EA31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#BC3B66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b42ea3;
/* rgb */ color: rgb(180, 46, 163);
/* oklch */ color: oklch(55.1% 0.209 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce75be',
    500: '#b42ea3',
    950: '#000000',
  },
}
SCSS
$custom: #b42ea3;
$custom-light: #ce75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ea3",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 307.612,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55068,
    "c": 0.2093,
    "h": 333.8
  },
  "luminance": 0.14302
}

Semantic roles & 50–950 ramp

primary
#B42EA3
secondary
#77C781
accent
#E25945
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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