#B13AA9#B13AA9

#B13AA9 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 56.0% C 0.198 H 330.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B13AA9
RGBrgb(177, 58, 169)
HSLhsl(304, 51%, 46%)
HSVhsv(304, 67%, 69%)
CMYKcmyk(0%, 67.2%, 4.5%, 30.6%)
CIE-LABlab(45.96, 60.82, -35.28)
CIE-LCHlch(45.96, 70.31, 329.89°)
OKLaboklab(56.01% 0.1729 -0.0971)
OKLCHoklch(56.01% 0.198 330.7)
XYZxyz(26.8058, 15.2398, 39.0582)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13AA9 #3AB142
analogous
#7D3AB1 #B13AA9 #B13A6D
triadic
#B13AA9 #A9B13A #3AA9B1
tetradic
#B13AA9 #B17D3A #3AB142 #3A6DB1
square
#B13AA9 #B17D3A #3AB142 #3A6DB1
split-complementary
#B13AA9 #6DB13A #3AB17D
monochromatic
#551C51 #832B7D #B13AA9 #CA5EC3 #D98CD4

Accessibility & contrast

On white

5.19
#B13AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B13AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13AA9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13AA9#FFFFFF#000000##FFFFFF
##B13AA91.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#5C73A6
Tritanopia (blue-blind)
#B8476D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13aa9;
/* rgb */ color: rgb(177, 58, 169);
/* oklch */ color: oklch(56.0% 0.198 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc7ac3',
    500: '#b13aa9',
    950: '#000000',
  },
}
SCSS
$custom: #b13aa9;
$custom-light: #cc7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b13aa9",
  "rgb": {
    "r": 177,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 304.034,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.19825,
    "h": 330.7
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#B13AA9
secondary
#83C487
accent
#DA574E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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