#B42FAA#B42FAA

#B42FAA is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.213 H 331.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B42FAA
RGBrgb(180, 47, 170)
HSLhsl(305, 59%, 45%)
HSVhsv(305, 74%, 71%)
CMYKcmyk(0%, 73.9%, 5.6%, 29.4%)
CIE-LABlab(45.14, 65.54, -37.13)
CIE-LCHlch(45.14, 75.33, 330.46°)
OKLaboklab(55.53% 0.1872 -0.1023)
OKLCHoklch(55.53% 0.213 331.4)
XYZxyz(27.0946, 14.6408, 39.4213)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42FAA #2FB439
analogous
#7B2FB4 #B42FAA #B42F68
triadic
#B42FAA #AAB42F #2FAAB4
tetradic
#B42FAA #B47B2F #2FB439 #2F68B4
square
#B42FAA #B47B2F #2FB439 #2F68B4
split-complementary
#B42FAA #68B42F #2FB47B
monochromatic
#53164E #83227C #B42FAA #D14FC7 #DE80D7

Accessibility & contrast

On white

5.35
#B42FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B42FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42FAA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42FAA#FFFFFF#000000##FFFFFF
##B42FAA1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#BB3F6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b42faa;
/* rgb */ color: rgb(180, 47, 170);
/* oklch */ color: oklch(55.5% 0.213 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce75c4',
    500: '#b42faa',
    950: '#000000',
  },
}
SCSS
$custom: #b42faa;
$custom-light: #ce75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42faa",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 304.511,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.21333,
    "h": 331.4
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#B42FAA
secondary
#78C77E
accent
#E25246
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B42FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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