#B13AD2#B13AD2

#B13AD2 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.232 H 317.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B13AD2
RGBrgb(177, 58, 210)
HSLhsl(287, 63%, 53%)
HSVhsv(287, 72%, 82%)
CMYKcmyk(15.7%, 72.4%, 0%, 17.6%)
CIE-LABlab(48.30, 68.06, -55.45)
CIE-LCHlch(48.30, 87.79, 320.83°)
OKLaboklab(58.43% 0.1722 -0.1558)
OKLCHoklch(58.43% 0.232 317.9)
XYZxyz(31.2757, 17.0278, 62.5995)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13AD2 #5BD23A
analogous
#653AD2 #B13AD2 #D23AA7
triadic
#B13AD2 #D2B13A #3AD2B1
tetradic
#B13AD2 #D2653A #5BD23A #3AA7D2
square
#B13AD2 #D2653A #5BD23A #3AA7D2
split-complementary
#B13AD2 #A7D23A #3AD265
monochromatic
#631B77 #8C26A8 #B13AD2 #C56CDD #D89EE9

Accessibility & contrast

On white

4.77
#B13AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B13AD2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13AD2#FFFFFF#000000##FFFFFF
##B13AD21.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#4076CF
Tritanopia (blue-blind)
#B05983
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b13ad2;
/* rgb */ color: rgb(177, 58, 210);
/* oklch */ color: oklch(58.4% 0.232 317.9);
Tailwind
colors: {
  custom: {
    50: '#cc7be0',
    500: '#b13ad2',
    950: '#000000',
  },
}
SCSS
$custom: #b13ad2;
$custom-light: #cc7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ad2",
  "rgb": {
    "r": 177,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 286.974,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.23221,
    "h": 317.9
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#B13AD2
secondary
#A1D593
accent
#E64266
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B13AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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