#B04BA2#B04BA2

#B04BA2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.168 H 333.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B04BA2
RGBrgb(176, 75, 162)
HSLhsl(308, 40%, 49%)
HSVhsv(308, 57%, 69%)
CMYKcmyk(0%, 57.4%, 8%, 31%)
CIE-LABlab(48.10, 52.16, -27.80)
CIE-LCHlch(48.10, 59.10, 331.95°)
OKLaboklab(57.43% 0.15 -0.0758)
OKLCHoklch(57.43% 0.168 333.2)
XYZxyz(26.9422, 16.8728, 36.0132)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BA2 #4BB059
analogous
#8C4BB0 #B04BA2 #B04B70
triadic
#B04BA2 #A2B04B #4BA2B0
tetradic
#B04BA2 #B08C4B #4BB059 #4B70B0
square
#B04BA2 #B08C4B #4BB059 #4B70B0
split-complementary
#B04BA2 #70B04B #4BB08C
monochromatic
#5A2653 #85397B #B04BA2 #C474B9 #D69FCF

Accessibility & contrast

On white

4.80
#B04BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B04BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BA2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BA2#FFFFFF#000000##FFFFFF
##B04BA21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#68779F
Tritanopia (blue-blind)
#B75270
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b04ba2;
/* rgb */ color: rgb(176, 75, 162);
/* oklch */ color: oklch(57.4% 0.168 333.2);
Tailwind
colors: {
  custom: {
    50: '#ca83be',
    500: '#b04ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b04ba2;
$custom-light: #ca83be;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ba2",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 308.317,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.16806,
    "h": 333.2
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#B04BA2
secondary
#94C39A
accent
#D06858
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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