#B13CA8#B13CA8

#B13CA8 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.195 H 331.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B13CA8
RGBrgb(177, 60, 168)
HSLhsl(305, 49%, 46%)
HSVhsv(305, 66%, 69%)
CMYKcmyk(0%, 66.1%, 5.1%, 30.6%)
CIE-LABlab(46.19, 59.88, -34.33)
CIE-LCHlch(46.19, 69.02, 330.18°)
OKLaboklab(56.15% 0.1706 -0.0943)
OKLCHoklch(56.15% 0.195 331.1)
XYZxyz(26.8151, 15.4080, 38.5999)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CA8 #3CB145
analogous
#803CB1 #B13CA8 #B13C6E
triadic
#B13CA8 #A8B13C #3CA8B1
tetradic
#B13CA8 #B1803C #3CB145 #3C6EB1
square
#B13CA8 #B1803C #3CB145 #3C6EB1
split-complementary
#B13CA8 #6EB13C #3CB180
monochromatic
#561D51 #832D7D #B13CA8 #C961C1 #D98FD3

Accessibility & contrast

On white

5.15
#B13CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B13CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13CA8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13CA8#FFFFFF#000000##FFFFFF
##B13CA81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#5E73A5
Tritanopia (blue-blind)
#B8486D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13ca8;
/* rgb */ color: rgb(177, 60, 168);
/* oklch */ color: oklch(56.2% 0.195 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc7bc2',
    500: '#b13ca8',
    950: '#000000',
  },
}
SCSS
$custom: #b13ca8;
$custom-light: #cc7bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ca8",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 304.615,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.1949,
    "h": 331.1
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#B13CA8
secondary
#85C48A
accent
#D95A4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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