#B04EA3#B04EA3

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

Color values

HEX#B04EA3
RGBrgb(176, 78, 163)
HSLhsl(308, 39%, 50%)
HSVhsv(308, 56%, 69%)
CMYKcmyk(0%, 55.7%, 7.4%, 31%)
CIE-LABlab(48.67, 50.92, -27.51)
CIE-LCHlch(48.67, 57.87, 331.62°)
OKLaboklab(57.86% 0.1461 -0.075)
OKLCHoklch(57.86% 0.164 332.8)
XYZxyz(27.2397, 17.3251, 36.5526)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EA3 #4EB05B
analogous
#8C4EB0 #B04EA3 #B04E72
triadic
#B04EA3 #A3B04E #4EA3B0
tetradic
#B04EA3 #B08C4E #4EB05B #4E72B0
square
#B04EA3 #B08C4E #4EB05B #4E72B0
split-complementary
#B04EA3 #72B04E #4EB08C
monochromatic
#5B2854 #863B7C #B04EA3 #C378B9 #D6A2CF

Accessibility & contrast

On white

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

On black

4.46
#B04EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B04EA3#FFFFFF#000000##FFFFFF
##B04EA31.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA6
Deuteranopia (green-blind)
#6979A0
Tritanopia (blue-blind)
#B75571
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04ea3;
/* rgb */ color: rgb(176, 78, 163);
/* oklch */ color: oklch(57.9% 0.164 332.8);
Tailwind
colors: {
  custom: {
    50: '#ca84be',
    500: '#b04ea3',
    950: '#000000',
  },
}
SCSS
$custom: #b04ea3;
$custom-light: #ca84be;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ea3",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 307.959,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57857,
    "c": 0.1642,
    "h": 332.8
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#B04EA3
secondary
#97C39D
accent
#CF6959
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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