#B04DAB#B04DAB

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

Color values

HEX#B04DAB
RGBrgb(176, 77, 171)
HSLhsl(303, 39%, 50%)
HSVhsv(303, 56%, 69%)
CMYKcmyk(0%, 56.2%, 2.8%, 31%)
CIE-LABlab(48.86, 52.77, -31.92)
CIE-LCHlch(48.86, 61.67, 328.83°)
OKLaboklab(58.12% 0.1487 -0.0876)
OKLCHoklch(58.12% 0.173 329.5)
XYZxyz(27.9088, 17.4799, 40.4242)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DAB #4DB052
analogous
#834DB0 #B04DAB #B04D7A
triadic
#B04DAB #ABB04D #4DABB0
tetradic
#B04DAB #B0834D #4DB052 #4D7AB0
square
#B04DAB #B0834D #4DB052 #4D7AB0
split-complementary
#B04DAB #7AB04D #4DB083
monochromatic
#5B2858 #853A82 #B04DAB #C377C0 #D6A1D3

Accessibility & contrast

On white

4.67
#B04DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B04DAB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DAB#FFFFFF#000000##FFFFFF
##B04DAB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAE
Deuteranopia (green-blind)
#6579A8
Tritanopia (blue-blind)
#B65775
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04dab;
/* rgb */ color: rgb(176, 77, 171);
/* oklch */ color: oklch(58.1% 0.173 329.5);
Tailwind
colors: {
  custom: {
    50: '#ca84c4',
    500: '#b04dab',
    950: '#000000',
  },
}
SCSS
$custom: #b04dab;
$custom-light: #ca84c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dab",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 303.03,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.17253,
    "h": 329.5
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#B04DAB
secondary
#96C398
accent
#CF5F59
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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