#B13AA2#B13AA2

#B13AA2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.193 H 333.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B13AA2
RGBrgb(177, 58, 162)
HSLhsl(308, 51%, 46%)
HSVhsv(308, 67%, 69%)
CMYKcmyk(0%, 67.2%, 8.5%, 30.6%)
CIE-LABlab(45.61, 59.69, -31.67)
CIE-LCHlch(45.61, 67.58, 332.05°)
OKLaboklab(55.64% 0.1723 -0.0867)
OKLCHoklch(55.64% 0.193 333.3)
XYZxyz(26.1662, 14.9840, 35.6895)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13AA2 #3AB149
analogous
#843AB1 #B13AA2 #B13A66
triadic
#B13AA2 #A2B13A #3AA2B1
tetradic
#B13AA2 #B1843A #3AB149 #3A66B1
square
#B13AA2 #B1843A #3AB149 #3A66B1
split-complementary
#B13AA2 #66B13A #3AB184
monochromatic
#551C4E #832B78 #B13AA2 #CA5EBD #D98CD0

Accessibility & contrast

On white

5.25
#B13AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B13AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13AA2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13AA2#FFFFFF#000000##FFFFFF
##B13AA21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#B94469
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b13aa2;
/* rgb */ color: rgb(177, 58, 162);
/* oklch */ color: oklch(55.6% 0.193 333.3);
Tailwind
colors: {
  custom: {
    50: '#cc7abe',
    500: '#b13aa2',
    950: '#000000',
  },
}
SCSS
$custom: #b13aa2;
$custom-light: #cc7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#b13aa2",
  "rgb": {
    "r": 177,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 307.563,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.19285,
    "h": 333.3
  },
  "luminance": 0.14982
}

Semantic roles & 50–950 ramp

primary
#B13AA2
secondary
#83C48B
accent
#DA5F4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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