#B04EA4#B04EA4

#B04EA4 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.9% C 0.165 H 332.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B04EA4
RGBrgb(176, 78, 164)
HSLhsl(307, 39%, 50%)
HSVhsv(307, 56%, 69%)
CMYKcmyk(0%, 55.7%, 6.8%, 31%)
CIE-LABlab(48.71, 51.09, -28.03)
CIE-LCHlch(48.71, 58.27, 331.25°)
OKLaboklab(57.9% 0.1463 -0.0764)
OKLCHoklch(57.9% 0.165 332.4)
XYZxyz(27.3297, 17.3611, 37.0263)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EA4 #4EB05A
analogous
#8B4EB0 #B04EA4 #B04E73
triadic
#B04EA4 #A4B04E #4EA4B0
tetradic
#B04EA4 #B08B4E #4EB05A #4E73B0
square
#B04EA4 #B08B4E #4EB05A #4E73B0
split-complementary
#B04EA4 #73B04E #4EB08B
monochromatic
#5B2855 #863B7C #B04EA4 #C378BA #D6A2D0

Accessibility & contrast

On white

4.70
#B04EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B04EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04EA4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EA4#FFFFFF#000000##FFFFFF
##B04EA41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA7
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#B75572
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04ea4;
/* rgb */ color: rgb(176, 78, 164);
/* oklch */ color: oklch(57.9% 0.165 332.4);
Tailwind
colors: {
  custom: {
    50: '#ca84bf',
    500: '#b04ea4',
    950: '#000000',
  },
}
SCSS
$custom: #b04ea4;
$custom-light: #ca84bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ea4",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 307.347,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.16503,
    "h": 332.4
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#B04EA4
secondary
#97C39C
accent
#CF6859
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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