#B04FA1#B04FA1

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

Color values

HEX#B04FA1
RGBrgb(176, 79, 161)
HSLhsl(309, 38%, 50%)
HSVhsv(309, 55%, 69%)
CMYKcmyk(0%, 55.1%, 8.5%, 31%)
CIE-LABlab(48.76, 50.10, -26.18)
CIE-LCHlch(48.76, 56.53, 332.41°)
OKLaboklab(57.9% 0.1444 -0.0712)
OKLCHoklch(57.9% 0.161 333.7)
XYZxyz(27.1335, 17.3972, 35.6402)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FA1 #4FB05E
analogous
#8E4FB0 #B04FA1 #B04F71
triadic
#B04FA1 #A1B04F #4FA1B0
tetradic
#B04FA1 #B08E4F #4FB05E #4F71B0
square
#B04FA1 #B08E4F #4FB05E #4F71B0
split-complementary
#B04FA1 #71B04F #4FB08E
monochromatic
#5C2954 #863C7A #B04FA1 #C379B8 #D6A3CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04FA1#FFFFFF#000000##FFFFFF
##B04FA11.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)
#4E6BA4
Deuteranopia (green-blind)
#6A799E
Tritanopia (blue-blind)
#B75571
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04fa1;
/* rgb */ color: rgb(176, 79, 161);
/* oklch */ color: oklch(57.9% 0.161 333.7);
Tailwind
colors: {
  custom: {
    50: '#ca85bd',
    500: '#b04fa1',
    950: '#000000',
  },
}
SCSS
$custom: #b04fa1;
$custom-light: #ca85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fa1",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 309.278,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.16096,
    "h": 333.7
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#B04FA1
secondary
#98C39E
accent
#CE6C5A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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