#B04DA3#B04DA3

#B04DA3 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.166 H 332.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B04DA3
RGBrgb(176, 77, 163)
HSLhsl(308, 39%, 50%)
HSVhsv(308, 56%, 69%)
CMYKcmyk(0%, 56.2%, 7.4%, 31%)
CIE-LABlab(48.49, 51.39, -27.78)
CIE-LCHlch(48.49, 58.42, 331.61°)
OKLaboklab(57.73% 0.1475 -0.0757)
OKLCHoklch(57.73% 0.166 332.8)
XYZxyz(27.1692, 17.1841, 36.5291)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DA3 #4DB05A
analogous
#8C4DB0 #B04DA3 #B04D72
triadic
#B04DA3 #A3B04D #4DA3B0
tetradic
#B04DA3 #B08C4D #4DB05A #4D72B0
square
#B04DA3 #B08C4D #4DB05A #4D72B0
split-complementary
#B04DA3 #72B04D #4DB08C
monochromatic
#5B2854 #853A7C #B04DA3 #C377B9 #D6A1CF

Accessibility & contrast

On white

4.73
#B04DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B04DA3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DA3#FFFFFF#000000##FFFFFF
##B04DA31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA6
Deuteranopia (green-blind)
#6978A0
Tritanopia (blue-blind)
#B75471
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04da3;
/* rgb */ color: rgb(176, 77, 163);
/* oklch */ color: oklch(57.7% 0.166 332.8);
Tailwind
colors: {
  custom: {
    50: '#ca84be',
    500: '#b04da3',
    950: '#000000',
  },
}
SCSS
$custom: #b04da3;
$custom-light: #ca84be;
$custom-dark: #000000;
JSON
{
  "hex": "#b04da3",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 163
  },
  "hsl": {
    "h": 307.879,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57728,
    "c": 0.16577,
    "h": 332.8
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#B04DA3
secondary
#96C39C
accent
#CF6859
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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