#B041C5#B041C5

#B041C5 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.212 H 320.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B041C5
RGBrgb(176, 65, 197)
HSLhsl(290, 53%, 51%)
HSVhsv(290, 67%, 77%)
CMYKcmyk(10.7%, 67%, 0%, 22.7%)
CIE-LABlab(48.31, 62.73, -47.94)
CIE-LCHlch(48.31, 78.95, 322.61°)
OKLaboklab(58.16% 0.1647 -0.1339)
OKLCHoklch(58.16% 0.212 320.9)
XYZxyz(29.8717, 17.0434, 54.5288)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041C5 #56C541
analogous
#6E41C5 #B041C5 #C54198
triadic
#B041C5 #C5B041 #41C5B0
tetradic
#B041C5 #C56E41 #56C541 #4198C5
square
#B041C5 #C56E41 #56C541 #4198C5
split-complementary
#B041C5 #98C541 #41C56E
monochromatic
#5F216B #892F9A #B041C5 #C370D3 #D79FE2

Accessibility & contrast

On white

4.76
#B041C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B041C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041C5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041C5#FFFFFF#000000##FFFFFF
##B041C51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156BC9
Deuteranopia (green-blind)
#4F77C2
Tritanopia (blue-blind)
#B1587E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b041c5;
/* rgb */ color: rgb(176, 65, 197);
/* oklch */ color: oklch(58.2% 0.212 320.9);
Tailwind
colors: {
  custom: {
    50: '#cb7ed7',
    500: '#b041c5',
    950: '#000000',
  },
}
SCSS
$custom: #b041c5;
$custom-light: #cb7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#b041c5",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 290.455,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.21225,
    "h": 320.9
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#B041C5
secondary
#9DCE94
accent
#DD4B62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B041C5

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

Preview Lab → · Contrast checker → · Palette generator →

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