#B04DA2#B04DA2

#B04DA2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.165 H 333.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B04DA2
RGBrgb(176, 77, 162)
HSLhsl(308, 39%, 50%)
HSVhsv(308, 56%, 69%)
CMYKcmyk(0%, 56.2%, 8%, 31%)
CIE-LABlab(48.45, 51.22, -27.26)
CIE-LCHlch(48.45, 58.02, 331.98°)
OKLaboklab(57.68% 0.1473 -0.0742)
OKLCHoklch(57.68% 0.165 333.2)
XYZxyz(27.0800, 17.1484, 36.0591)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DA2 #4DB05B
analogous
#8D4DB0 #B04DA2 #B04D71
triadic
#B04DA2 #A2B04D #4DA2B0
tetradic
#B04DA2 #B08D4D #4DB05B #4D71B0
square
#B04DA2 #B08D4D #4DB05B #4D71B0
split-complementary
#B04DA2 #71B04D #4DB08D
monochromatic
#5B2854 #853A7B #B04DA2 #C377B9 #D6A1CF

Accessibility & contrast

On white

4.74
#B04DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B04DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04DA2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DA2#FFFFFF#000000##FFFFFF
##B04DA21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#B75470
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04da2;
/* rgb */ color: rgb(176, 77, 162);
/* oklch */ color: oklch(57.7% 0.165 333.2);
Tailwind
colors: {
  custom: {
    50: '#ca84be',
    500: '#b04da2',
    950: '#000000',
  },
}
SCSS
$custom: #b04da2;
$custom-light: #ca84be;
$custom-dark: #000000;
JSON
{
  "hex": "#b04da2",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 308.485,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.16495,
    "h": 333.2
  },
  "luminance": 0.17146
}

Semantic roles & 50–950 ramp

primary
#B04DA2
secondary
#96C39C
accent
#CF6959
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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