#B04DBD#B04DBD

#B04DBD is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.189 H 322.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B04DBD
RGBrgb(176, 77, 189)
HSLhsl(293, 46%, 52%)
HSVhsv(293, 59%, 74%)
CMYKcmyk(6.9%, 59.3%, 0%, 25.9%)
CIE-LABlab(49.75, 56.03, -41.02)
CIE-LCHlch(49.75, 69.44, 323.80°)
OKLaboklab(59.06% 0.1504 -0.1138)
OKLCHoklch(59.06% 0.189 322.9)
XYZxyz(29.7428, 18.2135, 50.0832)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DBD #5ABD4D
analogous
#784DBD #B04DBD #BD4D92
triadic
#B04DBD #BDB04D #4DBDB0
tetradic
#B04DBD #BD784D #5ABD4D #4D92BD
square
#B04DBD #BD784D #5ABD4D #4D92BD
split-complementary
#B04DBD #92BD4D #4DBD78
monochromatic
#612769 #8A3795 #B04DBD #C47ACE #D8A6DE

Accessibility & contrast

On white

4.52
#B04DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B04DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DBD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DBD#FFFFFF#000000##000000
##B04DBD1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#B35D7E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04dbd;
/* rgb */ color: rgb(176, 77, 189);
/* oklch */ color: oklch(59.1% 0.189 322.9);
Tailwind
colors: {
  custom: {
    50: '#ca84d1',
    500: '#b04dbd',
    950: '#000000',
  },
}
SCSS
$custom: #b04dbd;
$custom-light: #ca84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dbd",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 293.036,
    "s": 45.902,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.18864,
    "h": 322.9
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#B04DBD
secondary
#A0CB9A
accent
#D65261
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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