#B04AAA#B04AAA

#B04AAA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.176 H 329.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B04AAA
RGBrgb(176, 74, 170)
HSLhsl(304, 41%, 49%)
HSVhsv(304, 58%, 69%)
CMYKcmyk(0%, 58%, 3.4%, 31%)
CIE-LABlab(48.30, 53.98, -32.20)
CIE-LCHlch(48.30, 62.86, 329.18°)
OKLaboklab(57.69% 0.1525 -0.0884)
OKLCHoklch(57.69% 0.176 329.9)
XYZxyz(27.6087, 17.0318, 39.8557)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AAA #4AB050
analogous
#834AB0 #B04AAA #B04A77
triadic
#B04AAA #AAB04A #4AAAB0
tetradic
#B04AAA #B0834A #4AB050 #4A77B0
square
#B04AAA #B0834A #4AB050 #4A77B0
split-complementary
#B04AAA #77B04A #4AB083
monochromatic
#5A2657 #853880 #B04AAA #C473BF #D69ED3

Accessibility & contrast

On white

4.77
#B04AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B04AAA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AAA#FFFFFF#000000##FFFFFF
##B04AAA1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#B65473
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04aaa;
/* rgb */ color: rgb(176, 74, 170);
/* oklch */ color: oklch(57.7% 0.176 329.9);
Tailwind
colors: {
  custom: {
    50: '#ca82c3',
    500: '#b04aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b04aaa;
$custom-light: #ca82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aaa",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 303.529,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57693,
    "c": 0.17625,
    "h": 329.9
  },
  "luminance": 0.1703
}

Semantic roles & 50–950 ramp

primary
#B04AAA
secondary
#93C396
accent
#D15E57
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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