#B04EA5#B04EA5

#B04EA5 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.166 H 332.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B04EA5
RGBrgb(176, 78, 165)
HSLhsl(307, 39%, 50%)
HSVhsv(307, 56%, 69%)
CMYKcmyk(0%, 55.7%, 6.2%, 31%)
CIE-LABlab(48.76, 51.26, -28.55)
CIE-LCHlch(48.76, 58.67, 330.89°)
OKLaboklab(57.95% 0.1464 -0.0779)
OKLCHoklch(57.95% 0.166 332)
XYZxyz(27.4203, 17.3974, 37.5038)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EA5 #4EB059
analogous
#8A4EB0 #B04EA5 #B04E74
triadic
#B04EA5 #A5B04E #4EA5B0
tetradic
#B04EA5 #B08A4E #4EB059 #4E74B0
square
#B04EA5 #B08A4E #4EB059 #4E74B0
split-complementary
#B04EA5 #74B04E #4EB08A
monochromatic
#5B2855 #863B7D #B04EA5 #C378BB #D6A2D0

Accessibility & contrast

On white

4.69
#B04EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B04EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04EA5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EA5#FFFFFF#000000##FFFFFF
##B04EA51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA8
Deuteranopia (green-blind)
#6879A2
Tritanopia (blue-blind)
#B75672
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04ea5;
/* rgb */ color: rgb(176, 78, 165);
/* oklch */ color: oklch(58.0% 0.166 332.0);
Tailwind
colors: {
  custom: {
    50: '#ca84c0',
    500: '#b04ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b04ea5;
$custom-light: #ca84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ea5",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 306.735,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57953,
    "c": 0.16587,
    "h": 332
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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