#B442A2#B442A2

#B442A2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.184 H 334.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B442A2
RGBrgb(180, 66, 162)
HSLhsl(309, 46%, 48%)
HSVhsv(309, 63%, 71%)
CMYKcmyk(0%, 63.3%, 10%, 29.4%)
CIE-LABlab(47.25, 57.24, -29.07)
CIE-LCHlch(47.25, 64.20, 333.07°)
OKLaboklab(56.92% 0.166 -0.0793)
OKLCHoklch(56.92% 0.184 334.5)
XYZxyz(27.2924, 16.2105, 35.8669)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442A2 #42B454
analogous
#8D42B4 #B442A2 #B44269
triadic
#B442A2 #A2B442 #42A2B4
tetradic
#B442A2 #B48D42 #42B454 #4269B4
square
#B442A2 #B48D42 #42B454 #4269B4
split-complementary
#B442A2 #69B442 #42B48D
monochromatic
#5A2151 #87327A #B442A2 #C96BBA #D997CF

Accessibility & contrast

On white

4.95
#B442A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B442A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B442A2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442A2#FFFFFF#000000##FFFFFF
##B442A21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#BC4A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b442a2;
/* rgb */ color: rgb(180, 66, 162);
/* oklch */ color: oklch(56.9% 0.184 334.5);
Tailwind
colors: {
  custom: {
    50: '#cd7ebe',
    500: '#b442a2',
    950: '#000000',
  },
}
SCSS
$custom: #b442a2;
$custom-light: #cd7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b442a2",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 309.474,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56924,
    "c": 0.18395,
    "h": 334.5
  },
  "luminance": 0.16208
}

Semantic roles & 50–950 ramp

primary
#B442A2
secondary
#8DC596
accent
#D66752
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B442A2

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

Preview Lab → · Contrast checker → · Palette generator →

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