#B04AB2#B04AB2

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

Color values

HEX#B04AB2
RGBrgb(176, 74, 178)
HSLhsl(299, 41%, 49%)
HSVhsv(299, 58%, 70%)
CMYKcmyk(1.1%, 58.4%, 0%, 30.2%)
CIE-LABlab(48.69, 55.39, -36.29)
CIE-LCHlch(48.69, 66.22, 326.77°)
OKLaboklab(58.11% 0.1534 -0.1001)
OKLCHoklch(58.11% 0.183 326.9)
XYZxyz(28.3887, 17.3437, 43.9632)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AB2 #4CB24A
analogous
#7C4AB2 #B04AB2 #B24A80
triadic
#B04AB2 #B2B04A #4AB2B0
tetradic
#B04AB2 #B27C4A #4CB24A #4A80B2
square
#B04AB2 #B27C4A #4CB24A #4A80B2
split-complementary
#B04AB2 #80B24A #4AB27C
monochromatic
#5B265C #853887 #B04AB2 #C474C5 #D69FD7

Accessibility & contrast

On white

4.70
#B04AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B04AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04AB2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AB2#FFFFFF#000000##FFFFFF
##B04AB21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#B55777
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04ab2;
/* rgb */ color: rgb(176, 74, 178);
/* oklch */ color: oklch(58.1% 0.183 326.9);
Tailwind
colors: {
  custom: {
    50: '#ca82c9',
    500: '#b04ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b04ab2;
$custom-light: #ca82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ab2",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 298.846,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.18316,
    "h": 326.9
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#B04AB2
secondary
#95C494
accent
#D15759
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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