#B13AA8#B13AA8

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

Color values

HEX#B13AA8
RGBrgb(177, 58, 168)
HSLhsl(305, 51%, 46%)
HSVhsv(305, 67%, 69%)
CMYKcmyk(0%, 67.2%, 5.1%, 30.6%)
CIE-LABlab(45.91, 60.66, -34.76)
CIE-LCHlch(45.91, 69.91, 330.18°)
OKLaboklab(55.95% 0.1728 -0.0956)
OKLCHoklch(55.95% 0.197 331.1)
XYZxyz(26.7123, 15.2024, 38.5656)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13AA8 #3AB143
analogous
#7E3AB1 #B13AA8 #B13A6C
triadic
#B13AA8 #A8B13A #3AA8B1
tetradic
#B13AA8 #B17E3A #3AB143 #3A6CB1
square
#B13AA8 #B17E3A #3AB143 #3A6CB1
split-complementary
#B13AA8 #6CB13A #3AB17E
monochromatic
#551C50 #832B7C #B13AA8 #CA5EC2 #D98CD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B13AA8#FFFFFF#000000##FFFFFF
##B13AA81.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)
#3162AB
Deuteranopia (green-blind)
#5D73A5
Tritanopia (blue-blind)
#B8476C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13aa8;
/* rgb */ color: rgb(177, 58, 168);
/* oklch */ color: oklch(56.0% 0.197 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc7ac2',
    500: '#b13aa8',
    950: '#000000',
  },
}
SCSS
$custom: #b13aa8;
$custom-light: #cc7ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#b13aa8",
  "rgb": {
    "r": 177,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 304.538,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55953,
    "c": 0.19746,
    "h": 331.1
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#B13AA8
secondary
#83C488
accent
#DA584E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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