#B04DB0#B04DB0

#B04DB0 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.4% C 0.177 H 327.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B04DB0
RGBrgb(176, 77, 176)
HSLhsl(300, 39%, 50%)
HSVhsv(300, 56%, 69%)
CMYKcmyk(0%, 56.2%, 0%, 31%)
CIE-LABlab(49.10, 53.65, -34.48)
CIE-LCHlch(49.10, 63.77, 327.28°)
OKLaboklab(58.37% 0.1493 -0.0949)
OKLCHoklch(58.37% 0.177 327.5)
XYZxyz(28.3944, 17.6742, 42.9818)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DB0 #4DB04D
analogous
#7F4DB0 #B04DB0 #B04D7F
triadic
#B04DB0 #B0B04D #4DB0B0
tetradic
#B04DB0 #B07F4D #4DB04D #4D7FB0
square
#B04DB0 #B07F4D #4DB04D #4D7FB0
split-complementary
#B04DB0 #7FB04D #4DB07F
monochromatic
#5B285B #853A85 #B04DB0 #C377C3 #D6A1D6

Accessibility & contrast

On white

4.63
#B04DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B04DB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04DB0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DB0#FFFFFF#000000##FFFFFF
##B04DB01.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB3
Deuteranopia (green-blind)
#6379AD
Tritanopia (blue-blind)
#B55977
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04db0;
/* rgb */ color: rgb(176, 77, 176);
/* oklch */ color: oklch(58.4% 0.177 327.5);
Tailwind
colors: {
  custom: {
    50: '#ca84c8',
    500: '#b04db0',
    950: '#000000',
  },
}
SCSS
$custom: #b04db0;
$custom-light: #ca84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04db0",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.17691,
    "h": 327.5
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#B04DB0
secondary
#96C396
accent
#CF5959
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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