#B04DC5#B04DC5

#B04DC5 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.196 H 320.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B04DC5
RGBrgb(176, 77, 197)
HSLhsl(290, 51%, 54%)
HSVhsv(290, 61%, 77%)
CMYKcmyk(10.7%, 60.9%, 0%, 22.7%)
CIE-LABlab(50.18, 57.56, -44.97)
CIE-LCHlch(50.18, 73.04, 322.00°)
OKLaboklab(59.51% 0.1508 -0.1253)
OKLCHoklch(59.51% 0.196 320.3)
XYZxyz(30.6352, 18.5705, 54.7833)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DC5 #62C54D
analogous
#744DC5 #B04DC5 #C54D9E
triadic
#B04DC5 #C5B04D #4DC5B0
tetradic
#B04DC5 #C5744D #62C54D #4D9EC5
square
#B04DC5 #C5744D #62C54D #4D9EC5
split-complementary
#B04DC5 #9EC54D #4DC574
monochromatic
#652572 #8E34A0 #B04DC5 #C47BD4 #D9A9E3

Accessibility & contrast

On white

4.46
#B04DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B04DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DC5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DC5#FFFFFF#000000##000000
##B04DC51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3070C9
Deuteranopia (green-blind)
#577BC2
Tritanopia (blue-blind)
#B16082
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04dc5;
/* rgb */ color: rgb(176, 77, 197);
/* oklch */ color: oklch(59.5% 0.196 320.3);
Tailwind
colors: {
  custom: {
    50: '#cb85d7',
    500: '#b04dc5',
    950: '#000000',
  },
}
SCSS
$custom: #b04dc5;
$custom-light: #cb85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dc5",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 289.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.19608,
    "h": 320.3
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#B04DC5
secondary
#A6D19D
accent
#DA4D66
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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