#B04AAB#B04AAB

#B04AAB is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.177 H 329.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B04AAB
RGBrgb(176, 74, 171)
HSLhsl(303, 41%, 49%)
HSVhsv(303, 58%, 69%)
CMYKcmyk(0%, 58%, 2.8%, 31%)
CIE-LABlab(48.35, 54.15, -32.72)
CIE-LCHlch(48.35, 63.27, 328.86°)
OKLaboklab(57.74% 0.1526 -0.0898)
OKLCHoklch(57.74% 0.177 329.5)
XYZxyz(27.7037, 17.0698, 40.3558)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AAB #4AB04F
analogous
#824AB0 #B04AAB #B04A78
triadic
#B04AAB #ABB04A #4AABB0
tetradic
#B04AAB #B0824A #4AB04F #4A78B0
square
#B04AAB #B0824A #4AB04F #4A78B0
split-complementary
#B04AAB #78B04A #4AB082
monochromatic
#5A2657 #853881 #B04AAB #C473C0 #D69ED4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04AAB#FFFFFF#000000##FFFFFF
##B04AAB1.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)
#426AAE
Deuteranopia (green-blind)
#6378A8
Tritanopia (blue-blind)
#B65574
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04aab;
/* rgb */ color: rgb(176, 74, 171);
/* oklch */ color: oklch(57.7% 0.177 329.5);
Tailwind
colors: {
  custom: {
    50: '#ca82c4',
    500: '#b04aab',
    950: '#000000',
  },
}
SCSS
$custom: #b04aab;
$custom-light: #ca82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aab",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 302.941,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.1771,
    "h": 329.5
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#B04AAB
secondary
#93C395
accent
#D15D57
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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