#B041D5#B041D5

#B041D5 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.226 H 316.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B041D5
RGBrgb(176, 65, 213)
HSLhsl(285, 64%, 55%)
HSVhsv(285, 69%, 84%)
CMYKcmyk(17.4%, 69.5%, 0%, 16.5%)
CIE-LABlab(49.27, 65.78, -55.61)
CIE-LCHlch(49.27, 86.13, 319.79°)
OKLaboklab(59.16% 0.1639 -0.1563)
OKLCHoklch(59.16% 0.226 316.3)
XYZxyz(31.8032, 17.8160, 64.7015)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041D5 #66D541
analogous
#6641D5 #B041D5 #D541B0
triadic
#B041D5 #D5B041 #41D5B0
tetradic
#B041D5 #D56641 #66D541 #41B0D5
square
#B041D5 #D56641 #66D541 #41B0D5
split-complementary
#B041D5 #B0D541 #41D566
monochromatic
#671C7F #8F27B2 #B041D5 #C573E0 #DAA5EB

Accessibility & contrast

On white

4.60
#B041D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B041D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B041D5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041D5#FFFFFF#000000##FFFFFF
##B041D51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#4178D2
Tritanopia (blue-blind)
#AE5F87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b041d5;
/* rgb */ color: rgb(176, 65, 213);
/* oklch */ color: oklch(59.2% 0.226 316.3);
Tailwind
colors: {
  custom: {
    50: '#cc7fe3',
    500: '#b041d5',
    950: '#000000',
  },
}
SCSS
$custom: #b041d5;
$custom-light: #cc7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#b041d5",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 285,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59157,
    "c": 0.22649,
    "h": 316.3
  },
  "luminance": 0.17815
}

Semantic roles & 50–950 ramp

primary
#B041D5
secondary
#A9D89A
accent
#E7416A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B041D5

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

Preview Lab → · Contrast checker → · Palette generator →

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