#B42CA5#B42CA5

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

Color values

HEX#B42CA5
RGBrgb(180, 44, 165)
HSLhsl(307, 61%, 44%)
HSVhsv(307, 76%, 71%)
CMYKcmyk(0%, 75.6%, 8.3%, 29.4%)
CIE-LABlab(44.55, 65.70, -35.09)
CIE-LCHlch(44.55, 74.49, 331.90°)
OKLaboklab(55.02% 0.1897 -0.0963)
OKLCHoklch(55.02% 0.213 333.1)
XYZxyz(26.5148, 14.2235, 36.9390)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42CA5 #2CB43B
analogous
#7F2CB4 #B42CA5 #B42C61
triadic
#B42CA5 #A5B42C #2CA5B4
tetradic
#B42CA5 #B47F2C #2CB43B #2C61B4
square
#B42CA5 #B47F2C #2CB43B #2C61B4
split-complementary
#B42CA5 #61B42C #2CB47F
monochromatic
#52144B #832078 #B42CA5 #D34AC4 #DF7CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42CA5#FFFFFF#000000##FFFFFF
##B42CA51.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)
#255DA8
Deuteranopia (green-blind)
#5B70A2
Tritanopia (blue-blind)
#BC3B66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b42ca5;
/* rgb */ color: rgb(180, 44, 165);
/* oklch */ color: oklch(55.0% 0.213 333.1);
Tailwind
colors: {
  custom: {
    50: '#ce74c0',
    500: '#b42ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b42ca5;
$custom-light: #ce74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ca5",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 306.618,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5502,
    "c": 0.21278,
    "h": 333.1
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#B42CA5
secondary
#75C77E
accent
#E45644
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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