#B04DB5#B04DB5

#B04DB5 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.181 H 325.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B04DB5
RGBrgb(176, 77, 181)
HSLhsl(297, 41%, 51%)
HSVhsv(297, 57%, 71%)
CMYKcmyk(2.8%, 57.5%, 0%, 29%)
CIE-LABlab(49.34, 54.55, -37.01)
CIE-LCHlch(49.34, 65.92, 325.85°)
OKLaboklab(58.63% 0.1498 -0.1022)
OKLCHoklch(58.63% 0.181 325.7)
XYZxyz(28.8982, 17.8757, 45.6353)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DB5 #52B54D
analogous
#7C4DB5 #B04DB5 #B54D86
triadic
#B04DB5 #B5B04D #4DB5B0
tetradic
#B04DB5 #B57C4D #52B54D #4D86B5
square
#B04DB5 #B57C4D #52B54D #4D86B5
split-complementary
#B04DB5 #86B54D #4DB57C
monochromatic
#5D2860 #873A8B #B04DB5 #C378C7 #D6A3D9

Accessibility & contrast

On white

4.59
#B04DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B04DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04DB5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DB5#FFFFFF#000000##FFFFFF
##B04DB51.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#607AB2
Tritanopia (blue-blind)
#B45A7A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04db5;
/* rgb */ color: rgb(176, 77, 181);
/* oklch */ color: oklch(58.6% 0.181 325.7);
Tailwind
colors: {
  custom: {
    50: '#ca84cb',
    500: '#b04db5',
    950: '#000000',
  },
}
SCSS
$custom: #b04db5;
$custom-light: #ca84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04db5",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 297.115,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.18136,
    "h": 325.7
  },
  "luminance": 0.17874
}

Semantic roles & 50–950 ramp

primary
#B04DB5
secondary
#9AC698
accent
#D1575D
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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