#B41CD2#B41CD2

#B41CD2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.8% C 0.258 H 319.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B41CD2
RGBrgb(180, 28, 210)
HSLhsl(290, 76%, 47%)
HSVhsv(290, 87%, 82%)
CMYKcmyk(14.3%, 86.7%, 0%, 17.6%)
CIE-LABlab(45.89, 76.91, -59.30)
CIE-LCHlch(45.89, 97.12, 322.37°)
OKLaboklab(56.83% 0.1973 -0.1668)
OKLCHoklch(56.83% 0.258 319.8)
XYZxyz(30.8690, 15.1886, 62.2660)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41CD2 #3AD21C
analogous
#591CD2 #B41CD2 #D21C95
triadic
#B41CD2 #D2B41C #1CD2B4
tetradic
#B41CD2 #D2591C #3AD21C #1C95D2
square
#B41CD2 #D2591C #3AD21C #1C95D2
split-complementary
#B41CD2 #95D21C #1CD259
monochromatic
#570E66 #86159C #B41CD2 #CC45E6 #DB7BED

Accessibility & contrast

On white

5.20
#B41CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B41CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41CD2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41CD2#FFFFFF#000000##FFFFFF
##B41CD21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#3171CE
Tritanopia (blue-blind)
#B44B7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b41cd2;
/* rgb */ color: rgb(180, 28, 210);
/* oklch */ color: oklch(56.8% 0.258 319.8);
Tailwind
colors: {
  custom: {
    50: '#d071e1',
    500: '#b41cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b41cd2;
$custom-light: #d071e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b41cd2",
  "rgb": {
    "r": 180,
    "g": 28,
    "b": 210
  },
  "hsl": {
    "h": 290.11,
    "s": 76.471,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.2584,
    "h": 319.8
  },
  "luminance": 0.15187
}

Semantic roles & 50–950 ramp

primary
#B41CD2
secondary
#85D575
accent
#F33554
background
#FDF7FD
surface
#FAEDFB
border
#D3C8D4
text
#150915
muted
#837B83

Preview Lab

Preview with #B41CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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