#B442BA#B442BA

#B442BA is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.203 H 325.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B442BA
RGBrgb(180, 66, 186)
HSLhsl(297, 48%, 49%)
HSVhsv(297, 65%, 73%)
CMYKcmyk(3.2%, 64.5%, 0%, 27.1%)
CIE-LABlab(48.44, 61.26, -41.31)
CIE-LCHlch(48.44, 73.89, 326.01°)
OKLaboklab(58.18% 0.1681 -0.1145)
OKLCHoklch(58.18% 0.203 325.7)
XYZxyz(29.6329, 17.1467, 48.1937)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442BA #48BA42
analogous
#7842BA #B442BA #BA4284
triadic
#B442BA #BAB442 #42BAB4
tetradic
#B442BA #BA7842 #48BA42 #4284BA
square
#B442BA #BA7842 #48BA42 #4284BA
split-complementary
#B442BA #84BA42 #42BA78
monochromatic
#5D2260 #88328D #B442BA #C76ECB #D89BDB

Accessibility & contrast

On white

4.74
#B442BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B442BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B442BA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442BA#FFFFFF#000000##FFFFFF
##B442BA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#B85378
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b442ba;
/* rgb */ color: rgb(180, 66, 186);
/* oklch */ color: oklch(58.2% 0.203 325.7);
Tailwind
colors: {
  custom: {
    50: '#ce7fcf',
    500: '#b442ba',
    950: '#000000',
  },
}
SCSS
$custom: #b442ba;
$custom-light: #ce7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b442ba",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 297,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5818,
    "c": 0.20337,
    "h": 325.7
  },
  "luminance": 0.17145
}

Semantic roles & 50–950 ramp

primary
#B442BA
secondary
#93C890
accent
#D75157
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B442BA

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

Preview Lab → · Contrast checker → · Palette generator →

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