#B42FA3#B42FA3

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

Color values

HEX#B42FA3
RGBrgb(180, 47, 163)
HSLhsl(308, 59%, 45%)
HSVhsv(308, 74%, 71%)
CMYKcmyk(0%, 73.9%, 9.4%, 29.4%)
CIE-LABlab(44.78, 64.47, -33.54)
CIE-LCHlch(44.78, 72.67, 332.51°)
OKLaboklab(55.15% 0.1869 -0.0919)
OKLCHoklch(55.15% 0.208 333.8)
XYZxyz(26.4500, 14.3829, 36.0264)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42FA3 #2FB440
analogous
#832FB4 #B42FA3 #B42F61
triadic
#B42FA3 #A3B42F #2FA3B4
tetradic
#B42FA3 #B4832F #2FB440 #2F61B4
square
#B42FA3 #B4832F #2FB440 #2F61B4
split-complementary
#B42FA3 #61B42F #2FB483
monochromatic
#53164B #832277 #B42FA3 #D14FC0 #DE80D2

Accessibility & contrast

On white

5.42
#B42FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B42FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42FA3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42FA3#FFFFFF#000000##FFFFFF
##B42FA31.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#BC3C66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b42fa3;
/* rgb */ color: rgb(180, 47, 163);
/* oklch */ color: oklch(55.1% 0.208 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce75be',
    500: '#b42fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b42fa3;
$custom-light: #ce75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b42fa3",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 307.669,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.20825,
    "h": 333.8
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#B42FA3
secondary
#78C782
accent
#E25A46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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