#B04AA2#B04AA2

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

Color values

HEX#B04AA2
RGBrgb(176, 74, 162)
HSLhsl(308, 41%, 49%)
HSVhsv(308, 58%, 69%)
CMYKcmyk(0%, 58%, 8%, 31%)
CIE-LABlab(47.93, 52.62, -28.06)
CIE-LCHlch(47.93, 59.64, 331.93°)
OKLaboklab(57.3% 0.1514 -0.0765)
OKLCHoklch(57.3% 0.17 333.2)
XYZxyz(26.8749, 16.7382, 35.9907)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AA2 #4AB058
analogous
#8B4AB0 #B04AA2 #B04A6F
triadic
#B04AA2 #A2B04A #4AA2B0
tetradic
#B04AA2 #B08B4A #4AB058 #4A6FB0
square
#B04AA2 #B08B4A #4AB058 #4A6FB0
split-complementary
#B04AA2 #6FB04A #4AB08B
monochromatic
#5A2653 #85387A #B04AA2 #C473B9 #D69ECF

Accessibility & contrast

On white

4.83
#B04AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B04AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04AA2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AA2#FFFFFF#000000##FFFFFF
##B04AA21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#B7516F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b04aa2;
/* rgb */ color: rgb(176, 74, 162);
/* oklch */ color: oklch(57.3% 0.170 333.2);
Tailwind
colors: {
  custom: {
    50: '#ca82be',
    500: '#b04aa2',
    950: '#000000',
  },
}
SCSS
$custom: #b04aa2;
$custom-light: #ca82be;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aa2",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 308.235,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.573,
    "c": 0.16959,
    "h": 333.2
  },
  "luminance": 0.16736
}

Semantic roles & 50–950 ramp

primary
#B04AA2
secondary
#93C399
accent
#D16857
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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