#B04DB9#B04DB9

#B04DB9 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.185 H 324.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B04DB9
RGBrgb(176, 77, 185)
HSLhsl(295, 44%, 51%)
HSVhsv(295, 58%, 73%)
CMYKcmyk(4.9%, 58.4%, 0%, 27.5%)
CIE-LABlab(49.55, 55.29, -39.02)
CIE-LCHlch(49.55, 67.67, 324.79°)
OKLaboklab(58.85% 0.1501 -0.1081)
OKLCHoklch(58.85% 0.185 324.3)
XYZxyz(29.3146, 18.0422, 47.8280)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DB9 #56B94D
analogous
#7A4DB9 #B04DB9 #B94D8C
triadic
#B04DB9 #B9B04D #4DB9B0
tetradic
#B04DB9 #B97A4D #56B94D #4D8CB9
square
#B04DB9 #B97A4D #56B94D #4D8CB9
split-complementary
#B04DB9 #8CB94D #4DB97A
monochromatic
#5F2764 #893990 #B04DB9 #C379CA #D7A5DC

Accessibility & contrast

On white

4.56
#B04DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B04DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DB9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DB9#FFFFFF#000000##000000
##B04DB91.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBC
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#B35C7C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04db9;
/* rgb */ color: rgb(176, 77, 185);
/* oklch */ color: oklch(58.8% 0.185 324.3);
Tailwind
colors: {
  custom: {
    50: '#ca84ce',
    500: '#b04db9',
    950: '#000000',
  },
}
SCSS
$custom: #b04db9;
$custom-light: #ca84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b04db9",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 295,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58846,
    "c": 0.18498,
    "h": 324.3
  },
  "luminance": 0.18041
}

Semantic roles & 50–950 ramp

primary
#B04DB9
secondary
#9DC999
accent
#D3555F
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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