#B04AB8#B04AB8

#B04AB8 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.188 H 324.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B04AB8
RGBrgb(176, 74, 184)
HSLhsl(296, 44%, 51%)
HSVhsv(296, 60%, 72%)
CMYKcmyk(4.3%, 59.8%, 0%, 27.8%)
CIE-LABlab(48.99, 56.47, -39.31)
CIE-LCHlch(48.99, 68.81, 325.16°)
OKLaboklab(58.43% 0.1538 -0.1089)
OKLCHoklch(58.43% 0.188 324.7)
XYZxyz(29.0043, 17.5900, 47.2056)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AB8 #52B84A
analogous
#794AB8 #B04AB8 #B84A89
triadic
#B04AB8 #B8B04A #4AB8B0
tetradic
#B04AB8 #B8794A #52B84A #4A89B8
square
#B04AB8 #B8794A #52B84A #4A89B8
split-complementary
#B04AB8 #89B84A #4AB879
monochromatic
#5D2661 #87378D #B04AB8 #C376C9 #D6A2DA

Accessibility & contrast

On white

4.65
#B04AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B04AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04AB8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AB8#FFFFFF#000000##FFFFFF
##B04AB81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#5D79B5
Tritanopia (blue-blind)
#B4597A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04ab8;
/* rgb */ color: rgb(176, 74, 184);
/* oklch */ color: oklch(58.4% 0.188 324.7);
Tailwind
colors: {
  custom: {
    50: '#ca83ce',
    500: '#b04ab8',
    950: '#000000',
  },
}
SCSS
$custom: #b04ab8;
$custom-light: #ca83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ab8",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 184
  },
  "hsl": {
    "h": 295.636,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58427,
    "c": 0.18847,
    "h": 324.7
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#B04AB8
secondary
#9AC796
accent
#D3545E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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