#B04AA0#B04AA0

#B04AA0 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.2% C 0.168 H 334.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B04AA0
RGBrgb(176, 74, 160)
HSLhsl(309, 41%, 49%)
HSVhsv(309, 58%, 69%)
CMYKcmyk(0%, 58%, 9.1%, 31%)
CIE-LABlab(47.84, 52.29, -27.02)
CIE-LCHlch(47.84, 58.86, 332.67°)
OKLaboklab(57.2% 0.151 -0.0735)
OKLCHoklch(57.2% 0.168 334)
XYZxyz(26.6985, 16.6677, 35.0619)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AA0 #4AB05A
analogous
#8D4AB0 #B04AA0 #B04A6D
triadic
#B04AA0 #A0B04A #4AA0B0
tetradic
#B04AA0 #B08D4A #4AB05A #4A6DB0
square
#B04AA0 #B08D4A #4AB05A #4A6DB0
split-complementary
#B04AA0 #6DB04A #4AB08D
monochromatic
#5A2652 #853879 #B04AA0 #C473B7 #D69ECD

Accessibility & contrast

On white

4.85
#B04AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B04AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04AA0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AA0#FFFFFF#000000##FFFFFF
##B04AA01.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4968A3
Deuteranopia (green-blind)
#68779D
Tritanopia (blue-blind)
#B8516E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b04aa0;
/* rgb */ color: rgb(176, 74, 160);
/* oklch */ color: oklch(57.2% 0.168 334.0);
Tailwind
colors: {
  custom: {
    50: '#ca82bc',
    500: '#b04aa0',
    950: '#000000',
  },
}
SCSS
$custom: #b04aa0;
$custom-light: #ca82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aa0",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 309.412,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.16798,
    "h": 334
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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