#B04EA9#B04EA9

#B04EA9 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.169 H 330.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B04EA9
RGBrgb(176, 78, 169)
HSLhsl(304, 39%, 50%)
HSVhsv(304, 56%, 69%)
CMYKcmyk(0%, 55.7%, 4%, 31%)
CIE-LABlab(48.94, 51.95, -30.62)
CIE-LCHlch(48.94, 60.30, 329.49°)
OKLaboklab(58.15% 0.147 -0.0838)
OKLCHoklch(58.15% 0.169 330.3)
XYZxyz(27.7901, 17.5453, 39.4513)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EA9 #4EB055
analogous
#864EB0 #B04EA9 #B04E78
triadic
#B04EA9 #A9B04E #4EA9B0
tetradic
#B04EA9 #B0864E #4EB055 #4E78B0
square
#B04EA9 #B0864E #4EB055 #4E78B0
split-complementary
#B04EA9 #78B04E #4EB086
monochromatic
#5B2858 #863B80 #B04EA9 #C378BE #D6A2D2

Accessibility & contrast

On white

4.66
#B04EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B04EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04EA9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EA9#FFFFFF#000000##FFFFFF
##B04EA91.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAC
Deuteranopia (green-blind)
#6779A6
Tritanopia (blue-blind)
#B65774
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04ea9;
/* rgb */ color: rgb(176, 78, 169);
/* oklch */ color: oklch(58.1% 0.169 330.3);
Tailwind
colors: {
  custom: {
    50: '#ca84c3',
    500: '#b04ea9',
    950: '#000000',
  },
}
SCSS
$custom: #b04ea9;
$custom-light: #ca84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ea9",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 304.286,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.16927,
    "h": 330.3
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#B04EA9
secondary
#97C39A
accent
#CF6259
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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