#B04EAA#B04EAA

#B04EAA is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.170 H 329.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B04EAA
RGBrgb(176, 78, 170)
HSLhsl(304, 39%, 50%)
HSVhsv(304, 56%, 69%)
CMYKcmyk(0%, 55.7%, 3.4%, 31%)
CIE-LABlab(48.99, 52.12, -31.13)
CIE-LCHlch(48.99, 60.71, 329.15°)
OKLaboklab(58.2% 0.1472 -0.0853)
OKLCHoklch(58.2% 0.17 329.9)
XYZxyz(27.8843, 17.5830, 39.9476)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EAA #4EB054
analogous
#854EB0 #B04EAA #B04E79
triadic
#B04EAA #AAB04E #4EAAB0
tetradic
#B04EAA #B0854E #4EB054 #4E79B0
square
#B04EAA #B0854E #4EB054 #4E79B0
split-complementary
#B04EAA #79B04E #4EB085
monochromatic
#5B2858 #863B81 #B04EAA #C378BF #D6A2D3

Accessibility & contrast

On white

4.65
#B04EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B04EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04EAA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EAA#FFFFFF#000000##FFFFFF
##B04EAA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#6679A7
Tritanopia (blue-blind)
#B65775
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04eaa;
/* rgb */ color: rgb(176, 78, 170);
/* oklch */ color: oklch(58.2% 0.170 329.9);
Tailwind
colors: {
  custom: {
    50: '#ca85c3',
    500: '#b04eaa',
    950: '#000000',
  },
}
SCSS
$custom: #b04eaa;
$custom-light: #ca85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04eaa",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 303.673,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58197,
    "c": 0.17013,
    "h": 329.9
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#B04EAA
secondary
#97C399
accent
#CF6059
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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