#B04DAC#B04DAC

#B04DAC is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.173 H 329.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B04DAC
RGBrgb(176, 77, 172)
HSLhsl(302, 39%, 50%)
HSVhsv(302, 56%, 69%)
CMYKcmyk(0%, 56.2%, 2.3%, 31%)
CIE-LABlab(48.91, 52.94, -32.43)
CIE-LCHlch(48.91, 62.09, 328.51°)
OKLaboklab(58.17% 0.1488 -0.089)
OKLCHoklch(58.17% 0.173 329.1)
XYZxyz(28.0045, 17.5182, 40.9280)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DAC #4DB051
analogous
#824DB0 #B04DAC #B04D7B
triadic
#B04DAC #ACB04D #4DACB0
tetradic
#B04DAC #B0824D #4DB051 #4D7BB0
square
#B04DAC #B0824D #4DB051 #4D7BB0
split-complementary
#B04DAC #7BB04D #4DB082
monochromatic
#5B2859 #853A82 #B04DAC #C377C0 #D6A1D4

Accessibility & contrast

On white

4.66
#B04DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B04DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04DAC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DAC#FFFFFF#000000##FFFFFF
##B04DAC1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456CAF
Deuteranopia (green-blind)
#6579A9
Tritanopia (blue-blind)
#B65775
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04dac;
/* rgb */ color: rgb(176, 77, 172);
/* oklch */ color: oklch(58.2% 0.173 329.1);
Tailwind
colors: {
  custom: {
    50: '#ca84c5',
    500: '#b04dac',
    950: '#000000',
  },
}
SCSS
$custom: #b04dac;
$custom-light: #ca84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dac",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 172
  },
  "hsl": {
    "h": 302.424,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.1734,
    "h": 329.1
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#B04DAC
secondary
#96C398
accent
#CF5E59
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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