#B04DC8#B04DC8

#B04DC8 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.7% C 0.199 H 319.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B04DC8
RGBrgb(176, 77, 200)
HSLhsl(288, 53%, 54%)
HSVhsv(288, 62%, 78%)
CMYKcmyk(12%, 61.5%, 0%, 21.6%)
CIE-LABlab(50.35, 58.14, -46.43)
CIE-LCHlch(50.35, 74.40, 321.39°)
OKLaboklab(59.69% 0.1509 -0.1296)
OKLCHoklch(59.69% 0.199 319.3)
XYZxyz(30.9824, 18.7094, 56.6117)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DC8 #65C84D
analogous
#734DC8 #B04DC8 #C84DA3
triadic
#B04DC8 #C8B04D #4DC8B0
tetradic
#B04DC8 #C8734D #65C84D #4DA3C8
square
#B04DC8 #C8734D #65C84D #4DA3C8
split-complementary
#B04DC8 #A3C84D #4DC873
monochromatic
#662476 #8F33A5 #B04DC8 #C57CD6 #DAABE5

Accessibility & contrast

On white

4.43
#B04DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B04DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DC8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DC8#FFFFFF#000000##000000
##B04DC81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#B06184
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04dc8;
/* rgb */ color: rgb(176, 77, 200);
/* oklch */ color: oklch(59.7% 0.199 319.3);
Tailwind
colors: {
  custom: {
    50: '#cb85d9',
    500: '#b04dc8',
    950: '#000000',
  },
}
SCSS
$custom: #b04dc8;
$custom-light: #cb85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dc8",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 288.293,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.1989,
    "h": 319.3
  },
  "luminance": 0.18708
}

Semantic roles & 50–950 ramp

primary
#B04DC8
secondary
#A8D29E
accent
#DC4C68
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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