#B42EA0#B42EA0

#B42EA0 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.207 H 334.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B42EA0
RGBrgb(180, 46, 160)
HSLhsl(309, 59%, 44%)
HSVhsv(309, 74%, 71%)
CMYKcmyk(0%, 74.4%, 11.1%, 29.4%)
CIE-LABlab(44.52, 64.34, -32.16)
CIE-LCHlch(44.52, 71.93, 333.44°)
OKLaboklab(54.91% 0.1876 -0.0879)
OKLCHoklch(54.91% 0.207 334.9)
XYZxyz(26.1449, 14.1977, 34.6144)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42EA0 #2EB442
analogous
#852EB4 #B42EA0 #B42E5D
triadic
#B42EA0 #A0B42E #2EA0B4
tetradic
#B42EA0 #B4852E #2EB442 #2E5DB4
square
#B42EA0 #B4852E #2EB442 #2E5DB4
split-complementary
#B42EA0 #5DB42E #2EB485
monochromatic
#531549 #832275 #B42EA0 #D24EBE #DE7ED0

Accessibility & contrast

On white

5.47
#B42EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B42EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42EA0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42EA0#FFFFFF#000000##FFFFFF
##B42EA01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA3
Deuteranopia (green-blind)
#5E709D
Tritanopia (blue-blind)
#BD3964
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b42ea0;
/* rgb */ color: rgb(180, 46, 160);
/* oklch */ color: oklch(54.9% 0.207 334.9);
Tailwind
colors: {
  custom: {
    50: '#ce75bc',
    500: '#b42ea0',
    950: '#000000',
  },
}
SCSS
$custom: #b42ea0;
$custom-light: #ce75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ea0",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 308.955,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.20718,
    "h": 334.9
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#B42EA0
secondary
#77C783
accent
#E25D45
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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