#B42CA1#B42CA1

#B42CA1 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.210 H 334.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B42CA1
RGBrgb(180, 44, 161)
HSLhsl(308, 61%, 44%)
HSVhsv(308, 76%, 71%)
CMYKcmyk(0%, 75.6%, 10.6%, 29.4%)
CIE-LABlab(44.35, 65.10, -33.02)
CIE-LCHlch(44.35, 73.00, 333.10°)
OKLaboklab(54.81% 0.1895 -0.0904)
OKLCHoklch(54.81% 0.21 334.5)
XYZxyz(26.1564, 14.0802, 35.0515)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42CA1 #2CB43F
analogous
#832CB4 #B42CA1 #B42C5D
triadic
#B42CA1 #A1B42C #2CA1B4
tetradic
#B42CA1 #B4832C #2CB43F #2C5DB4
square
#B42CA1 #B4832C #2CB43F #2C5DB4
split-complementary
#B42CA1 #5DB42C #2CB483
monochromatic
#521449 #832075 #B42CA1 #D34AC0 #DF7CD1

Accessibility & contrast

On white

5.50
#B42CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B42CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42CA1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42CA1#FFFFFF#000000##FFFFFF
##B42CA11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42ca1;
/* rgb */ color: rgb(180, 44, 161);
/* oklch */ color: oklch(54.8% 0.210 334.5);
Tailwind
colors: {
  custom: {
    50: '#ce74bd',
    500: '#b42ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b42ca1;
$custom-light: #ce74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ca1",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 308.382,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.20996,
    "h": 334.5
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#B42CA1
secondary
#75C780
accent
#E45A44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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