#B04DB3#B04DB3

#B04DB3 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.180 H 326.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B04DB3
RGBrgb(176, 77, 179)
HSLhsl(298, 40%, 50%)
HSVhsv(298, 57%, 70%)
CMYKcmyk(1.7%, 57%, 0%, 29.8%)
CIE-LABlab(49.25, 54.19, -36.00)
CIE-LCHlch(49.25, 65.06, 326.40°)
OKLaboklab(58.53% 0.1496 -0.0993)
OKLCHoklch(58.53% 0.18 326.4)
XYZxyz(28.6945, 17.7942, 44.5623)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DB3 #50B34D
analogous
#7D4DB3 #B04DB3 #B34D83
triadic
#B04DB3 #B3B04D #4DB3B0
tetradic
#B04DB3 #B37D4D #50B34D #4D83B3
square
#B04DB3 #B37D4D #50B34D #4D83B3
split-complementary
#B04DB3 #83B34D #4DB37D
monochromatic
#5C285E #863A89 #B04DB3 #C378C5 #D6A3D8

Accessibility & contrast

On white

4.61
#B04DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B04DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04DB3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DB3#FFFFFF#000000##FFFFFF
##B04DB31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB6
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#B45A79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04db3;
/* rgb */ color: rgb(176, 77, 179);
/* oklch */ color: oklch(58.5% 0.180 326.4);
Tailwind
colors: {
  custom: {
    50: '#ca84ca',
    500: '#b04db3',
    950: '#000000',
  },
}
SCSS
$custom: #b04db3;
$custom-light: #ca84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b04db3",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 298.235,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.17957,
    "h": 326.4
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#B04DB3
secondary
#98C597
accent
#D0585B
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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