#B04DC4#B04DC4

#B04DC4 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.195 H 320.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B04DC4
RGBrgb(176, 77, 196)
HSLhsl(290, 50%, 54%)
HSVhsv(290, 61%, 77%)
CMYKcmyk(10.2%, 60.7%, 0%, 23.1%)
CIE-LABlab(50.13, 57.36, -44.48)
CIE-LCHlch(50.13, 72.59, 322.21°)
OKLaboklab(59.46% 0.1508 -0.1239)
OKLCHoklch(59.46% 0.195 320.6)
XYZxyz(30.5210, 18.5248, 54.1818)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DC4 #61C44D
analogous
#744DC4 #B04DC4 #C44D9C
triadic
#B04DC4 #C4B04D #4DC4B0
tetradic
#B04DC4 #C4744D #61C44D #4D9CC4
square
#B04DC4 #C4744D #61C44D #4D9CC4
split-complementary
#B04DC4 #9CC44D #4DC474
monochromatic
#642571 #8D359F #B04DC4 #C47BD3 #D9A9E2

Accessibility & contrast

On white

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

On black

4.70
#B04DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DC4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DC4#FFFFFF#000000##000000
##B04DC41.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3170C8
Deuteranopia (green-blind)
#587BC1
Tritanopia (blue-blind)
#B16081
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04dc4;
/* rgb */ color: rgb(176, 77, 196);
/* oklch */ color: oklch(59.5% 0.195 320.6);
Tailwind
colors: {
  custom: {
    50: '#cb85d6',
    500: '#b04dc4',
    950: '#000000',
  },
}
SCSS
$custom: #b04dc4;
$custom-light: #cb85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dc4",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 289.916,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.19515,
    "h": 320.6
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#B04DC4
secondary
#A5D09D
accent
#DA4E66
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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