#B13AA6#B13AA6

#B13AA6 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.196 H 331.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B13AA6
RGBrgb(177, 58, 166)
HSLhsl(306, 51%, 46%)
HSVhsv(306, 67%, 69%)
CMYKcmyk(0%, 67.2%, 6.2%, 30.6%)
CIE-LABlab(45.81, 60.33, -33.74)
CIE-LCHlch(45.81, 69.13, 330.79°)
OKLaboklab(55.85% 0.1726 -0.0926)
OKLCHoklch(55.85% 0.196 331.8)
XYZxyz(26.5274, 15.1284, 37.5919)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13AA6 #3AB145
analogous
#803AB1 #B13AA6 #B13A6A
triadic
#B13AA6 #A6B13A #3AA6B1
tetradic
#B13AA6 #B1803A #3AB145 #3A6AB1
square
#B13AA6 #B1803A #3AB145 #3A6AB1
split-complementary
#B13AA6 #6AB13A #3AB180
monochromatic
#551C50 #832B7B #B13AA6 #CA5EC0 #D98CD2

Accessibility & contrast

On white

5.22
#B13AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B13AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13AA6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13AA6#FFFFFF#000000##FFFFFF
##B13AA61.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#5E72A3
Tritanopia (blue-blind)
#B8466B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b13aa6;
/* rgb */ color: rgb(177, 58, 166);
/* oklch */ color: oklch(55.8% 0.196 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ac1',
    500: '#b13aa6',
    950: '#000000',
  },
}
SCSS
$custom: #b13aa6;
$custom-light: #cc7ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#b13aa6",
  "rgb": {
    "r": 177,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 305.546,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.19591,
    "h": 331.8
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#B13AA6
secondary
#83C489
accent
#DA5B4E
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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