#B42CA0#B42CA0

#B42CA0 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.209 H 334.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B42CA0
RGBrgb(180, 44, 160)
HSLhsl(309, 61%, 44%)
HSVhsv(309, 76%, 71%)
CMYKcmyk(0%, 75.6%, 11.1%, 29.4%)
CIE-LABlab(44.30, 64.96, -32.50)
CIE-LCHlch(44.30, 72.64, 333.42°)
OKLaboklab(54.76% 0.1894 -0.0889)
OKLCHoklch(54.76% 0.209 334.9)
XYZxyz(26.0686, 14.0451, 34.5889)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42CA0 #2CB440
analogous
#842CB4 #B42CA0 #B42C5C
triadic
#B42CA0 #A0B42C #2CA0B4
tetradic
#B42CA0 #B4842C #2CB440 #2C5CB4
square
#B42CA0 #B4842C #2CB440 #2C5CB4
split-complementary
#B42CA0 #5CB42C #2CB484
monochromatic
#521449 #832074 #B42CA0 #D34ABF #DF7CD0

Accessibility & contrast

On white

5.51
#B42CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B42CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42CA0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42CA0#FFFFFF#000000##FFFFFF
##B42CA01.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5CA3
Deuteranopia (green-blind)
#5D709D
Tritanopia (blue-blind)
#BD3864
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b42ca0;
/* rgb */ color: rgb(180, 44, 160);
/* oklch */ color: oklch(54.8% 0.209 334.9);
Tailwind
colors: {
  custom: {
    50: '#ce74bc',
    500: '#b42ca0',
    950: '#000000',
  },
}
SCSS
$custom: #b42ca0;
$custom-light: #ce74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ca0",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 308.824,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.20926,
    "h": 334.9
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#B42CA0
secondary
#75C781
accent
#E45B44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B42CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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