#B04FA4#B04FA4

#B04FA4 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.163 H 332.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B04FA4
RGBrgb(176, 79, 164)
HSLhsl(307, 38%, 50%)
HSVhsv(307, 55%, 69%)
CMYKcmyk(0%, 55.1%, 6.8%, 31%)
CIE-LABlab(48.89, 50.61, -27.75)
CIE-LCHlch(48.89, 57.72, 331.26°)
OKLaboklab(58.04% 0.1449 -0.0757)
OKLCHoklch(58.04% 0.163 332.4)
XYZxyz(27.4013, 17.5043, 37.0502)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FA4 #4FB05B
analogous
#8C4FB0 #B04FA4 #B04F73
triadic
#B04FA4 #A4B04F #4FA4B0
tetradic
#B04FA4 #B08C4F #4FB05B #4F73B0
square
#B04FA4 #B08C4F #4FB05B #4F73B0
split-complementary
#B04FA4 #73B04F #4FB08C
monochromatic
#5C2955 #863C7D #B04FA4 #C379BA #D6A3D0

Accessibility & contrast

On white

4.67
#B04FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B04FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04FA4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FA4#FFFFFF#000000##FFFFFF
##B04FA41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#B75672
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04fa4;
/* rgb */ color: rgb(176, 79, 164);
/* oklch */ color: oklch(58.0% 0.163 332.4);
Tailwind
colors: {
  custom: {
    50: '#ca85bf',
    500: '#b04fa4',
    950: '#000000',
  },
}
SCSS
$custom: #b04fa4;
$custom-light: #ca85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fa4",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 307.423,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.16345,
    "h": 332.4
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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