#B04FA5#B04FA5

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

Color values

HEX#B04FA5
RGBrgb(176, 79, 165)
HSLhsl(307, 38%, 50%)
HSVhsv(307, 55%, 69%)
CMYKcmyk(0%, 55.1%, 6.2%, 31%)
CIE-LABlab(48.93, 50.78, -28.27)
CIE-LCHlch(48.93, 58.12, 330.89°)
OKLaboklab(58.08% 0.145 -0.0771)
OKLCHoklch(58.08% 0.164 332)
XYZxyz(27.4919, 17.5405, 37.5277)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FA5 #4FB05A
analogous
#8A4FB0 #B04FA5 #B04F75
triadic
#B04FA5 #A5B04F #4FA5B0
tetradic
#B04FA5 #B08A4F #4FB05A #4F75B0
square
#B04FA5 #B08A4F #4FB05A #4F75B0
split-complementary
#B04FA5 #75B04F #4FB08A
monochromatic
#5C2956 #863C7D #B04FA5 #C379BB #D6A3D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04FA5#FFFFFF#000000##FFFFFF
##B04FA51.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)
#4C6CA8
Deuteranopia (green-blind)
#6979A2
Tritanopia (blue-blind)
#B75773
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04fa5;
/* rgb */ color: rgb(176, 79, 165);
/* oklch */ color: oklch(58.1% 0.164 332.0);
Tailwind
colors: {
  custom: {
    50: '#ca85c0',
    500: '#b04fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b04fa5;
$custom-light: #ca85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fa5",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 306.804,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.58083,
    "c": 0.16428,
    "h": 332
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#B04FA5
secondary
#98C39D
accent
#CE675A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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