#B13BAC#B13BAC

#B13BAC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.199 H 329.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B13BAC
RGBrgb(177, 59, 172)
HSLhsl(303, 50%, 46%)
HSVhsv(303, 67%, 69%)
CMYKcmyk(0%, 66.7%, 2.8%, 30.6%)
CIE-LABlab(46.25, 60.93, -36.59)
CIE-LCHlch(46.25, 71.07, 329.01°)
OKLaboklab(56.27% 0.172 -0.1009)
OKLCHoklch(56.27% 0.199 329.6)
XYZxyz(27.1416, 15.4556, 40.5754)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13BAC #3BB140
analogous
#7B3BB1 #B13BAC #B13B71
triadic
#B13BAC #ACB13B #3BACB1
tetradic
#B13BAC #B17B3B #3BB140 #3B71B1
square
#B13BAC #B17B3B #3BB140 #3B71B1
split-complementary
#B13BAC #71B13B #3BB17B
monochromatic
#551C53 #832C7F #B13BAC #CA5FC5 #D98DD6

Accessibility & contrast

On white

5.13
#B13BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B13BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13BAC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13BAC#FFFFFF#000000##FFFFFF
##B13BAC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#B7496F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13bac;
/* rgb */ color: rgb(177, 59, 172);
/* oklch */ color: oklch(56.3% 0.199 329.6);
Tailwind
colors: {
  custom: {
    50: '#cc7ac5',
    500: '#b13bac',
    950: '#000000',
  },
}
SCSS
$custom: #b13bac;
$custom-light: #cc7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#b13bac",
  "rgb": {
    "r": 177,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 302.542,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.19935,
    "h": 329.6
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#B13BAC
secondary
#84C487
accent
#DA544E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B13BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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