#B442AB#B442AB

#B442AB is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.191 H 331.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B442AB
RGBrgb(180, 66, 171)
HSLhsl(305, 46%, 48%)
HSVhsv(305, 63%, 71%)
CMYKcmyk(0%, 63.3%, 5%, 29.4%)
CIE-LABlab(47.68, 58.70, -33.73)
CIE-LCHlch(47.68, 67.70, 330.12°)
OKLaboklab(57.38% 0.1671 -0.0926)
OKLCHoklch(57.38% 0.191 331)
XYZxyz(28.1212, 16.5421, 40.2320)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442AB #42B44B
analogous
#8442B4 #B442AB #B44272
triadic
#B442AB #ABB442 #42ABB4
tetradic
#B442AB #B48442 #42B44B #4272B4
square
#B442AB #B48442 #42B44B #4272B4
split-complementary
#B442AB #72B442 #42B484
monochromatic
#5A2156 #873280 #B442AB #C96BC1 #D997D4

Accessibility & contrast

On white

4.87
#B442AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B442AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B442AB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442AB#FFFFFF#000000##FFFFFF
##B442AB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#BB4D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b442ab;
/* rgb */ color: rgb(180, 66, 171);
/* oklch */ color: oklch(57.4% 0.191 331.0);
Tailwind
colors: {
  custom: {
    50: '#ce7ec4',
    500: '#b442ab',
    950: '#000000',
  },
}
SCSS
$custom: #b442ab;
$custom-light: #ce7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#b442ab",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 304.737,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.191,
    "h": 331
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#B442AB
secondary
#8DC591
accent
#D65C52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B442AB

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

Preview Lab → · Contrast checker → · Palette generator →

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