#B04ABA#B04ABA

#B04ABA is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.190 H 324.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B04ABA
RGBrgb(176, 74, 186)
HSLhsl(295, 45%, 51%)
HSVhsv(295, 60%, 73%)
CMYKcmyk(5.4%, 60.2%, 0%, 27.1%)
CIE-LABlab(49.10, 56.84, -40.31)
CIE-LCHlch(49.10, 69.68, 324.66°)
OKLaboklab(58.54% 0.154 -0.1118)
OKLCHoklch(58.54% 0.19 324)
XYZxyz(29.2154, 17.6744, 48.3175)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04ABA #54BA4A
analogous
#784ABA #B04ABA #BA4A8C
triadic
#B04ABA #BAB04A #4ABAB0
tetradic
#B04ABA #BA784A #54BA4A #4A8CBA
square
#B04ABA #BA784A #54BA4A #4A8CBA
split-complementary
#B04ABA #8CBA4A #4ABA78
monochromatic
#5E2664 #883790 #B04ABA #C376CB #D7A3DC

Accessibility & contrast

On white

4.63
#B04ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B04ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04ABA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04ABA#FFFFFF#000000##FFFFFF
##B04ABA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#B35A7B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04aba;
/* rgb */ color: rgb(176, 74, 186);
/* oklch */ color: oklch(58.5% 0.190 324.0);
Tailwind
colors: {
  custom: {
    50: '#ca83cf',
    500: '#b04aba',
    950: '#000000',
  },
}
SCSS
$custom: #b04aba;
$custom-light: #ca83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aba",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 294.643,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.19027,
    "h": 324
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#B04ABA
secondary
#9CC997
accent
#D5535F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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