#B04AA1#B04AA1

#B04AA1 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.169 H 333.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B04AA1
RGBrgb(176, 74, 161)
HSLhsl(309, 41%, 49%)
HSVhsv(309, 58%, 69%)
CMYKcmyk(0%, 58%, 8.5%, 31%)
CIE-LABlab(47.88, 52.46, -27.54)
CIE-LCHlch(47.88, 59.25, 332.30°)
OKLaboklab(57.25% 0.1512 -0.075)
OKLCHoklch(57.25% 0.169 333.6)
XYZxyz(26.7864, 16.7028, 35.5244)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AA1 #4AB059
analogous
#8C4AB0 #B04AA1 #B04A6E
triadic
#B04AA1 #A1B04A #4AA1B0
tetradic
#B04AA1 #B08C4A #4AB059 #4A6EB0
square
#B04AA1 #B08C4A #4AB059 #4A6EB0
split-complementary
#B04AA1 #6EB04A #4AB08C
monochromatic
#5A2652 #85387A #B04AA1 #C473B8 #D69ECE

Accessibility & contrast

On white

4.84
#B04AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B04AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04AA1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AA1#FFFFFF#000000##FFFFFF
##B04AA11.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A4
Deuteranopia (green-blind)
#68779E
Tritanopia (blue-blind)
#B7516F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b04aa1;
/* rgb */ color: rgb(176, 74, 161);
/* oklch */ color: oklch(57.3% 0.169 333.6);
Tailwind
colors: {
  custom: {
    50: '#ca82bd',
    500: '#b04aa1',
    950: '#000000',
  },
}
SCSS
$custom: #b04aa1;
$custom-light: #ca82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aa1",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 308.824,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57252,
    "c": 0.16878,
    "h": 333.6
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#B04AA1
secondary
#93C39A
accent
#D16957
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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