#B442B8#B442B8

#B442B8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.1% C 0.202 H 326.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B442B8
RGBrgb(180, 66, 184)
HSLhsl(298, 47%, 49%)
HSVhsv(298, 64%, 72%)
CMYKcmyk(2.2%, 64.1%, 0%, 27.8%)
CIE-LABlab(48.34, 60.91, -40.31)
CIE-LCHlch(48.34, 73.04, 326.50°)
OKLaboklab(58.07% 0.168 -0.1116)
OKLCHoklch(58.07% 0.202 326.4)
XYZxyz(29.4218, 17.0623, 47.0818)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442B8 #46B842
analogous
#7942B8 #B442B8 #B84281
triadic
#B442B8 #B8B442 #42B8B4
tetradic
#B442B8 #B87942 #46B842 #4281B8
square
#B442B8 #B87942 #46B842 #4281B8
split-complementary
#B442B8 #81B842 #42B879
monochromatic
#5C225E #88328B #B442B8 #C76DCB #D89ADB

Accessibility & contrast

On white

4.76
#B442B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B442B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B442B8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442B8#FFFFFF#000000##FFFFFF
##B442B81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BB
Deuteranopia (green-blind)
#5B78B5
Tritanopia (blue-blind)
#B95377
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b442b8;
/* rgb */ color: rgb(180, 66, 184);
/* oklch */ color: oklch(58.1% 0.202 326.4);
Tailwind
colors: {
  custom: {
    50: '#ce7fce',
    500: '#b442b8',
    950: '#000000',
  },
}
SCSS
$custom: #b442b8;
$custom-light: #ce7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#b442b8",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 297.966,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.20169,
    "h": 326.4
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#B442B8
secondary
#91C78F
accent
#D75156
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B442B8

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

Preview Lab → · Contrast checker → · Palette generator →

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