#B041B3#B041B3

#B041B3 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.197 H 326.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B041B3
RGBrgb(176, 65, 179)
HSLhsl(298, 47%, 48%)
HSVhsv(298, 64%, 70%)
CMYKcmyk(1.7%, 63.7%, 0%, 29.8%)
CIE-LABlab(47.32, 59.47, -39.03)
CIE-LCHlch(47.32, 71.14, 326.73°)
OKLaboklab(57.13% 0.1644 -0.108)
OKLCHoklch(57.13% 0.197 326.7)
XYZxyz(27.9310, 16.2672, 44.3078)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041B3 #44B341
analogous
#7741B3 #B041B3 #B3417D
triadic
#B041B3 #B3B041 #41B3B0
tetradic
#B041B3 #B37741 #44B341 #417DB3
square
#B041B3 #B37741 #44B341 #417DB3
split-complementary
#B041B3 #7DB341 #41B377
monochromatic
#582059 #843186 #B041B3 #C669C8 #D796D9

Accessibility & contrast

On white

4.94
#B041B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B041B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041B3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041B3#FFFFFF#000000##FFFFFF
##B041B31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#B55174
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b041b3;
/* rgb */ color: rgb(176, 65, 179);
/* oklch */ color: oklch(57.1% 0.197 326.7);
Tailwind
colors: {
  custom: {
    50: '#cb7eca',
    500: '#b041b3',
    950: '#000000',
  },
}
SCSS
$custom: #b041b3;
$custom-light: #cb7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#b041b3",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 298.421,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.1967,
    "h": 326.7
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#B041B3
secondary
#8DC48B
accent
#D65155
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B041B3

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

Preview Lab → · Contrast checker → · Palette generator →

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