#B42DA3#B42DA3

#B42DA3 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.210 H 333.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B42DA3
RGBrgb(180, 45, 163)
HSLhsl(308, 60%, 44%)
HSVhsv(308, 75%, 71%)
CMYKcmyk(0%, 75%, 9.4%, 29.4%)
CIE-LABlab(44.56, 65.10, -33.89)
CIE-LCHlch(44.56, 73.39, 332.50°)
OKLaboklab(54.99% 0.1887 -0.0929)
OKLCHoklch(54.99% 0.21 333.8)
XYZxyz(26.3719, 14.2267, 36.0003)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42DA3 #2DB43E
analogous
#822DB4 #B42DA3 #B42D5F
triadic
#B42DA3 #A3B42D #2DA3B4
tetradic
#B42DA3 #B4822D #2DB43E #2D5FB4
square
#B42DA3 #B4822D #2DB43E #2D5FB4
split-complementary
#B42DA3 #5FB42D #2DB482
monochromatic
#52154A #832177 #B42DA3 #D24CC1 #DE7DD2

Accessibility & contrast

On white

5.46
#B42DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42DA3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42DA3#FFFFFF#000000##FFFFFF
##B42DA31.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA6
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#BC3A66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b42da3;
/* rgb */ color: rgb(180, 45, 163);
/* oklch */ color: oklch(55.0% 0.210 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce74be',
    500: '#b42da3',
    950: '#000000',
  },
}
SCSS
$custom: #b42da3;
$custom-light: #ce74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b42da3",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 307.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.21035,
    "h": 333.8
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#B42DA3
secondary
#76C780
accent
#E35945
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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