#B04AB1#B04AB1

#B04AB1 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.182 H 327.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B04AB1
RGBrgb(176, 74, 177)
HSLhsl(299, 41%, 49%)
HSVhsv(299, 58%, 69%)
CMYKcmyk(0.6%, 58.2%, 0%, 30.6%)
CIE-LABlab(48.64, 55.21, -35.78)
CIE-LCHlch(48.64, 65.79, 327.05°)
OKLaboklab(58.05% 0.1533 -0.0987)
OKLCHoklch(58.05% 0.182 327.2)
XYZxyz(28.2886, 17.3037, 43.4364)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AB1 #4BB14A
analogous
#7C4AB1 #B04AB1 #B14A7F
triadic
#B04AB1 #B1B04A #4AB1B0
tetradic
#B04AB1 #B17C4A #4BB14A #4A7FB1
square
#B04AB1 #B17C4A #4BB14A #4A7FB1
split-complementary
#B04AB1 #7FB14A #4AB17C
monochromatic
#5A265B #853886 #B04AB1 #C474C5 #D69FD7

Accessibility & contrast

On white

4.71
#B04AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B04AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04AB1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AB1#FFFFFF#000000##FFFFFF
##B04AB11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#B55777
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04ab1;
/* rgb */ color: rgb(176, 74, 177);
/* oklch */ color: oklch(58.1% 0.182 327.2);
Tailwind
colors: {
  custom: {
    50: '#ca82c8',
    500: '#b04ab1',
    950: '#000000',
  },
}
SCSS
$custom: #b04ab1;
$custom-light: #ca82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ab1",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 299.417,
    "s": 41.036,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.18228,
    "h": 327.2
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#B04AB1
secondary
#94C393
accent
#D15758
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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