#B04EA0#B04EA0

#B04EA0 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.162 H 334.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B04EA0
RGBrgb(176, 78, 160)
HSLhsl(310, 39%, 50%)
HSVhsv(310, 56%, 69%)
CMYKcmyk(0%, 55.7%, 9.1%, 31%)
CIE-LABlab(48.53, 50.41, -25.94)
CIE-LCHlch(48.53, 56.69, 332.77°)
OKLaboklab(57.72% 0.1456 -0.0705)
OKLCHoklch(57.72% 0.162 334.2)
XYZxyz(26.9741, 17.2189, 35.1537)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EA0 #4EB05E
analogous
#8F4EB0 #B04EA0 #B04E6F
triadic
#B04EA0 #A0B04E #4EA0B0
tetradic
#B04EA0 #B08F4E #4EB05E #4E6FB0
square
#B04EA0 #B08F4E #4EB05E #4E6FB0
split-complementary
#B04EA0 #6FB04E #4EB08F
monochromatic
#5B2853 #863B79 #B04EA0 #C378B7 #D6A2CE

Accessibility & contrast

On white

4.73
#B04EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B04EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04EA0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EA0#FFFFFF#000000##FFFFFF
##B04EA01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6AA3
Deuteranopia (green-blind)
#6A789D
Tritanopia (blue-blind)
#B75470
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04ea0;
/* rgb */ color: rgb(176, 78, 160);
/* oklch */ color: oklch(57.7% 0.162 334.2);
Tailwind
colors: {
  custom: {
    50: '#ca84bc',
    500: '#b04ea0',
    950: '#000000',
  },
}
SCSS
$custom: #b04ea0;
$custom-light: #ca84bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ea0",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 309.796,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57716,
    "c": 0.16173,
    "h": 334.2
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#B04EA0
secondary
#97C39E
accent
#CF6C59
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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