#B04DB1#B04DB1

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

Color values

HEX#B04DB1
RGBrgb(176, 77, 177)
HSLhsl(299, 39%, 50%)
HSVhsv(299, 56%, 69%)
CMYKcmyk(0.6%, 56.5%, 0%, 30.6%)
CIE-LABlab(49.15, 53.83, -34.98)
CIE-LCHlch(49.15, 64.20, 326.98°)
OKLaboklab(58.42% 0.1494 -0.0964)
OKLCHoklch(58.42% 0.178 327.2)
XYZxyz(28.4937, 17.7139, 43.5048)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DB1 #4EB14D
analogous
#7E4DB1 #B04DB1 #B14D80
triadic
#B04DB1 #B1B04D #4DB1B0
tetradic
#B04DB1 #B17E4D #4EB14D #4D80B1
square
#B04DB1 #B17E4D #4EB14D #4D80B1
split-complementary
#B04DB1 #80B14D #4DB17E
monochromatic
#5B285C #863A86 #B04DB1 #C377C4 #D6A2D6

Accessibility & contrast

On white

4.62
#B04DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B04DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04DB1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DB1#FFFFFF#000000##FFFFFF
##B04DB11.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB4
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#B55978
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04db1;
/* rgb */ color: rgb(176, 77, 177);
/* oklch */ color: oklch(58.4% 0.178 327.2);
Tailwind
colors: {
  custom: {
    50: '#ca84c8',
    500: '#b04db1',
    950: '#000000',
  },
}
SCSS
$custom: #b04db1;
$custom-light: #ca84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04db1",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 299.4,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58424,
    "c": 0.17779,
    "h": 327.2
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

primary
#B04DB1
secondary
#97C496
accent
#CF595A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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