#B13CA6#B13CA6

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

Color values

HEX#B13CA6
RGBrgb(177, 60, 166)
HSLhsl(306, 49%, 46%)
HSVhsv(306, 66%, 69%)
CMYKcmyk(0%, 66.1%, 6.2%, 30.6%)
CIE-LABlab(46.09, 59.55, -33.30)
CIE-LCHlch(46.09, 68.23, 330.79°)
OKLaboklab(56.05% 0.1704 -0.0914)
OKLCHoklch(56.05% 0.193 331.8)
XYZxyz(26.6302, 15.3340, 37.6262)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CA6 #3CB147
analogous
#823CB1 #B13CA6 #B13C6C
triadic
#B13CA6 #A6B13C #3CA6B1
tetradic
#B13CA6 #B1823C #3CB147 #3C6CB1
square
#B13CA6 #B1823C #3CB147 #3C6CB1
split-complementary
#B13CA6 #6CB13C #3CB182
monochromatic
#561D50 #832D7B #B13CA6 #C961C0 #D98FD2

Accessibility & contrast

On white

5.16
#B13CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B13CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13CA6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13CA6#FFFFFF#000000##FFFFFF
##B13CA61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663A9
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#B8476C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13ca6;
/* rgb */ color: rgb(177, 60, 166);
/* oklch */ color: oklch(56.0% 0.193 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc7bc1',
    500: '#b13ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b13ca6;
$custom-light: #cc7bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ca6",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 305.641,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.19334,
    "h": 331.8
  },
  "luminance": 0.15332
}

Semantic roles & 50–950 ramp

primary
#B13CA6
secondary
#85C48B
accent
#D95C4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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