#B13CA5#B13CA5

#B13CA5 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.193 H 332.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B13CA5
RGBrgb(177, 60, 165)
HSLhsl(306, 49%, 46%)
HSVhsv(306, 66%, 69%)
CMYKcmyk(0%, 66.1%, 6.8%, 30.6%)
CIE-LABlab(46.04, 59.39, -32.78)
CIE-LCHlch(46.04, 67.84, 331.10°)
OKLaboklab(56% 0.1703 -0.0899)
OKLCHoklch(56% 0.193 332.2)
XYZxyz(26.5389, 15.2975, 37.1450)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CA5 #3CB148
analogous
#833CB1 #B13CA5 #B13C6B
triadic
#B13CA5 #A5B13C #3CA5B1
tetradic
#B13CA5 #B1833C #3CB148 #3C6BB1
square
#B13CA5 #B1833C #3CB148 #3C6BB1
split-complementary
#B13CA5 #6BB13C #3CB183
monochromatic
#561D50 #832D7A #B13CA5 #C961BF #D98FD1

Accessibility & contrast

On white

5.17
#B13CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B13CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13CA5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13CA5#FFFFFF#000000##FFFFFF
##B13CA51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#B8476B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13ca5;
/* rgb */ color: rgb(177, 60, 165);
/* oklch */ color: oklch(56.0% 0.193 332.2);
Tailwind
colors: {
  custom: {
    50: '#cc7bc0',
    500: '#b13ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b13ca5;
$custom-light: #cc7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ca5",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 306.154,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.19255,
    "h": 332.2
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#B13CA5
secondary
#85C48C
accent
#D95D4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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