#B413B1#B413B1

#B413B1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.3% C 0.240 H 329.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B413B1
RGBrgb(180, 19, 177)
HSLhsl(301, 81%, 39%)
HSVhsv(301, 89%, 71%)
CMYKcmyk(0%, 89.4%, 1.7%, 29.4%)
CIE-LABlab(43.28, 73.13, -44.23)
CIE-LCHlch(43.28, 85.47, 328.83°)
OKLaboklab(54.33% 0.2058 -0.1227)
OKLCHoklch(54.33% 0.24 329.2)
XYZxyz(26.9909, 13.3456, 42.7408)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B413B1 #13B416
analogous
#6713B4 #B413B1 #B41361
triadic
#B413B1 #B1B413 #13B1B4
tetradic
#B413B1 #B46713 #13B416 #1361B4
square
#B413B1 #B46713 #13B416 #1361B4
split-complementary
#B413B1 #61B413 #13B467
monochromatic
#450744 #7D0D7B #B413B1 #E71DE3 #ED54EA

Accessibility & contrast

On white

5.72
#B413B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B413B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B413B1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B413B1#FFFFFF#000000##FFFFFF
##B413B11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#BA3569
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b413b1;
/* rgb */ color: rgb(180, 19, 177);
/* oklch */ color: oklch(54.3% 0.240 329.2);
Tailwind
colors: {
  custom: {
    50: '#cf6dc9',
    500: '#b413b1',
    950: '#000000',
  },
}
SCSS
$custom: #b413b1;
$custom-light: #cf6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b413b1",
  "rgb": {
    "r": 180,
    "g": 19,
    "b": 177
  },
  "hsl": {
    "h": 301.118,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54328,
    "c": 0.23964,
    "h": 329.2
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#B413B1
secondary
#53CF56
accent
#F73430
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B413B1

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

Preview Lab → · Contrast checker → · Palette generator →

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