#B04AAF#B04AAF

#B04AAF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.181 H 328.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B04AAF
RGBrgb(176, 74, 175)
HSLhsl(301, 41%, 49%)
HSVhsv(301, 58%, 69%)
CMYKcmyk(0%, 58%, 0.6%, 31%)
CIE-LABlab(48.54, 54.85, -34.76)
CIE-LCHlch(48.54, 64.94, 327.64°)
OKLaboklab(57.95% 0.1531 -0.0957)
OKLCHoklch(57.95% 0.181 328)
XYZxyz(28.0907, 17.2246, 42.3942)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AAF #4AB04B
analogous
#7E4AB0 #B04AAF #B04A7C
triadic
#B04AAF #AFB04A #4AAFB0
tetradic
#B04AAF #B07E4A #4AB04B #4A7CB0
square
#B04AAF #B07E4A #4AB04B #4A7CB0
split-complementary
#B04AAF #7CB04A #4AB07E
monochromatic
#5A2659 #853884 #B04AAF #C473C3 #D69ED6

Accessibility & contrast

On white

4.72
#B04AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B04AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04AAF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AAF#FFFFFF#000000##FFFFFF
##B04AAF1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#B55676
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04aaf;
/* rgb */ color: rgb(176, 74, 175);
/* oklch */ color: oklch(57.9% 0.181 328.0);
Tailwind
colors: {
  custom: {
    50: '#ca82c7',
    500: '#b04aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b04aaf;
$custom-light: #ca82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aaf",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 300.588,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.18054,
    "h": 328
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#B04AAF
secondary
#93C393
accent
#D15857
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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