#B041BA#B041BA

#B041BA is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.5% C 0.203 H 324.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B041BA
RGBrgb(176, 65, 186)
HSLhsl(295, 48%, 49%)
HSVhsv(295, 65%, 73%)
CMYKcmyk(5.4%, 65.1%, 0%, 27.1%)
CIE-LABlab(47.70, 60.72, -42.53)
CIE-LCHlch(47.70, 74.13, 324.99°)
OKLaboklab(57.52% 0.1647 -0.1181)
OKLCHoklch(57.52% 0.203 324.3)
XYZxyz(28.6570, 16.5576, 48.1314)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041BA #4BBA41
analogous
#7441BA #B041BA #BA4188
triadic
#B041BA #BAB041 #41BAB0
tetradic
#B041BA #BA7441 #4BBA41 #4188BA
square
#B041BA #BA7441 #4BBA41 #4188BA
split-complementary
#B041BA #88BA41 #41BA74
monochromatic
#5A215F #85318D #B041BA #C46CCC #D69ADC

Accessibility & contrast

On white

4.87
#B041BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B041BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041BA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041BA#FFFFFF#000000##FFFFFF
##B041BA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#B35478
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b041ba;
/* rgb */ color: rgb(176, 65, 186);
/* oklch */ color: oklch(57.5% 0.203 324.3);
Tailwind
colors: {
  custom: {
    50: '#cb7ecf',
    500: '#b041ba',
    950: '#000000',
  },
}
SCSS
$custom: #b041ba;
$custom-light: #cb7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#b041ba",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 295.041,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.20267,
    "h": 324.3
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#B041BA
secondary
#94C88F
accent
#D8505B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #B041BA

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

Preview Lab → · Contrast checker → · Palette generator →

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