#B13AB2#B13AB2

#B13AB2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.205 H 327.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B13AB2
RGBrgb(177, 58, 178)
HSLhsl(300, 51%, 46%)
HSVhsv(300, 67%, 70%)
CMYKcmyk(0.6%, 67.4%, 0%, 30.2%)
CIE-LABlab(46.43, 62.32, -39.84)
CIE-LCHlch(46.43, 73.97, 327.41°)
OKLaboklab(56.5% 0.1733 -0.1103)
OKLCHoklch(56.5% 0.205 327.5)
XYZxyz(27.6800, 15.5895, 43.6620)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13AB2 #3BB23A
analogous
#753AB2 #B13AB2 #B23A77
triadic
#B13AB2 #B2B13A #3AB2B1
tetradic
#B13AB2 #B2753A #3BB23A #3A77B2
square
#B13AB2 #B2753A #3BB23A #3A77B2
split-complementary
#B13AB2 #77B23A #3AB275
monochromatic
#551C56 #832B84 #B13AB2 #CA5FCB #D98DDA

Accessibility & contrast

On white

5.10
#B13AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B13AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13AB2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13AB2#FFFFFF#000000##FFFFFF
##B13AB21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#B64B71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13ab2;
/* rgb */ color: rgb(177, 58, 178);
/* oklch */ color: oklch(56.5% 0.205 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc7ac9',
    500: '#b13ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b13ab2;
$custom-light: #cc7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ab2",
  "rgb": {
    "r": 177,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 299.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.20541,
    "h": 327.5
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#B13AB2
secondary
#84C483
accent
#DA4D4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B13AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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