#B04FA8#B04FA8

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

Color values

HEX#B04FA8
RGBrgb(176, 79, 168)
HSLhsl(305, 38%, 50%)
HSVhsv(305, 55%, 69%)
CMYKcmyk(0%, 55.1%, 4.5%, 31%)
CIE-LABlab(49.07, 51.30, -29.83)
CIE-LCHlch(49.07, 59.34, 329.83°)
OKLaboklab(58.23% 0.1455 -0.0816)
OKLCHoklch(58.23% 0.167 330.7)
XYZxyz(27.7682, 17.6510, 38.9826)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FA8 #4FB057
analogous
#874FB0 #B04FA8 #B04F78
triadic
#B04FA8 #A8B04F #4FA8B0
tetradic
#B04FA8 #B0874F #4FB057 #4F78B0
square
#B04FA8 #B0874F #4FB057 #4F78B0
split-complementary
#B04FA8 #78B04F #4FB087
monochromatic
#5C2957 #863C80 #B04FA8 #C379BD #D6A3D2

Accessibility & contrast

On white

4.64
#B04FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B04FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04FA8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FA8#FFFFFF#000000##FFFFFF
##B04FA81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAB
Deuteranopia (green-blind)
#6879A5
Tritanopia (blue-blind)
#B65874
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04fa8;
/* rgb */ color: rgb(176, 79, 168);
/* oklch */ color: oklch(58.2% 0.167 330.7);
Tailwind
colors: {
  custom: {
    50: '#ca85c2',
    500: '#b04fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b04fa8;
$custom-light: #ca85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fa8",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 304.948,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.16684,
    "h": 330.7
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#B04FA8
secondary
#98C39B
accent
#CE635A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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