#B04FA0#B04FA0

#B04FA0 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.8% C 0.160 H 334.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B04FA0
RGBrgb(176, 79, 160)
HSLhsl(310, 38%, 50%)
HSVhsv(310, 55%, 69%)
CMYKcmyk(0%, 55.1%, 9.1%, 31%)
CIE-LABlab(48.71, 49.93, -25.66)
CIE-LCHlch(48.71, 56.14, 332.80°)
OKLaboklab(57.85% 0.1442 -0.0697)
OKLCHoklch(57.85% 0.16 334.2)
XYZxyz(27.0457, 17.3620, 35.1776)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FA0 #4FB05F
analogous
#904FB0 #B04FA0 #B04F6F
triadic
#B04FA0 #A0B04F #4FA0B0
tetradic
#B04FA0 #B0904F #4FB05F #4F6FB0
square
#B04FA0 #B0904F #4FB05F #4F6FB0
split-complementary
#B04FA0 #6FB04F #4FB090
monochromatic
#5C2953 #863C7A #B04FA0 #C379B7 #D6A3CE

Accessibility & contrast

On white

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

On black

4.47
#B04FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B04FA0#FFFFFF#000000##FFFFFF
##B04FA01.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6BA3
Deuteranopia (green-blind)
#6B799D
Tritanopia (blue-blind)
#B75570
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04fa0;
/* rgb */ color: rgb(176, 79, 160);
/* oklch */ color: oklch(57.8% 0.160 334.2);
Tailwind
colors: {
  custom: {
    50: '#ca85bc',
    500: '#b04fa0',
    950: '#000000',
  },
}
SCSS
$custom: #b04fa0;
$custom-light: #ca85bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fa0",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 309.897,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.16014,
    "h": 334.2
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#B04FA0
secondary
#98C39F
accent
#CE6D5A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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