#B04FB1#B04FB1

#B04FB1 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.175 H 327.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B04FB1
RGBrgb(176, 79, 177)
HSLhsl(299, 39%, 50%)
HSVhsv(299, 55%, 69%)
CMYKcmyk(0.6%, 55.4%, 0%, 30.6%)
CIE-LABlab(49.49, 52.89, -34.44)
CIE-LCHlch(49.49, 63.12, 326.93°)
OKLaboklab(58.68% 0.1468 -0.0948)
OKLCHoklch(58.68% 0.175 327.1)
XYZxyz(28.6358, 17.9981, 43.5521)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FB1 #50B14F
analogous
#7F4FB1 #B04FB1 #B14F81
triadic
#B04FB1 #B1B04F #4FB1B0
tetradic
#B04FB1 #B17F4F #50B14F #4F81B1
square
#B04FB1 #B17F4F #50B14F #4F81B1
split-complementary
#B04FB1 #81B14F #4FB17F
monochromatic
#5C295D #863C87 #B04FB1 #C379C4 #D6A4D7

Accessibility & contrast

On white

4.57
#B04FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B04FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FB1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FB1#FFFFFF#000000##000000
##B04FB11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#446EB4
Deuteranopia (green-blind)
#647AAE
Tritanopia (blue-blind)
#B55B79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04fb1;
/* rgb */ color: rgb(176, 79, 177);
/* oklch */ color: oklch(58.7% 0.175 327.1);
Tailwind
colors: {
  custom: {
    50: '#ca85c8',
    500: '#b04fb1',
    950: '#000000',
  },
}
SCSS
$custom: #b04fb1;
$custom-light: #ca85c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fb1",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 299.388,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.17473,
    "h": 327.1
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#B04FB1
secondary
#98C498
accent
#CF595A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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