#B04DC9#B04DC9

#B04DC9 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.200 H 319.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B04DC9
RGBrgb(176, 77, 201)
HSLhsl(288, 53%, 55%)
HSVhsv(288, 62%, 79%)
CMYKcmyk(12.4%, 61.7%, 0%, 21.2%)
CIE-LABlab(50.40, 58.33, -46.92)
CIE-LCHlch(50.40, 74.86, 321.19°)
OKLaboklab(59.74% 0.1509 -0.131)
OKLCHoklch(59.74% 0.2 319)
XYZxyz(31.0996, 18.7563, 57.2292)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DC9 #66C94D
analogous
#724DC9 #B04DC9 #C94DA4
triadic
#B04DC9 #C9B04D #4DC9B0
tetradic
#B04DC9 #C9724D #66C94D #4DA4C9
square
#B04DC9 #C9724D #66C94D #4DA4C9
split-complementary
#B04DC9 #A4C94D #4DC972
monochromatic
#672477 #8F32A6 #B04DC9 #C57CD7 #DAABE5

Accessibility & contrast

On white

4.42
#B04DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B04DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DC9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DC9#FFFFFF#000000##000000
##B04DC91.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CD
Deuteranopia (green-blind)
#557BC6
Tritanopia (blue-blind)
#B06284
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04dc9;
/* rgb */ color: rgb(176, 77, 201);
/* oklch */ color: oklch(59.7% 0.200 319.0);
Tailwind
colors: {
  custom: {
    50: '#cb85da',
    500: '#b04dc9',
    950: '#000000',
  },
}
SCSS
$custom: #b04dc9;
$custom-light: #cb85da;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dc9",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 287.903,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.19984,
    "h": 319
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#B04DC9
secondary
#A9D39F
accent
#DD4B68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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