#B13CA1#B13CA1

#B13CA1 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.189 H 333.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B13CA1
RGBrgb(177, 60, 161)
HSLhsl(308, 49%, 46%)
HSVhsv(308, 66%, 69%)
CMYKcmyk(0%, 66.1%, 9%, 30.6%)
CIE-LABlab(45.84, 58.75, -30.71)
CIE-LCHlch(45.84, 66.30, 332.40°)
OKLaboklab(55.79% 0.1699 -0.0839)
OKLCHoklch(55.79% 0.189 333.7)
XYZxyz(26.1805, 15.1541, 35.2575)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CA1 #3CB14C
analogous
#873CB1 #B13CA1 #B13C67
triadic
#B13CA1 #A1B13C #3CA1B1
tetradic
#B13CA1 #B1873C #3CB14C #3C67B1
square
#B13CA1 #B1873C #3CB14C #3C67B1
split-complementary
#B13CA1 #67B13C #3CB187
monochromatic
#561D4E #832D77 #B13CA1 #C961BB #D98FCF

Accessibility & contrast

On white

5.21
#B13CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B13CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13CA1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13CA1#FFFFFF#000000##FFFFFF
##B13CA11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A4
Deuteranopia (green-blind)
#61739E
Tritanopia (blue-blind)
#B94569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13ca1;
/* rgb */ color: rgb(177, 60, 161);
/* oklch */ color: oklch(55.8% 0.189 333.7);
Tailwind
colors: {
  custom: {
    50: '#cc7bbd',
    500: '#b13ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b13ca1;
$custom-light: #cc7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ca1",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 308.205,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55793,
    "c": 0.18948,
    "h": 333.7
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#B13CA1
secondary
#85C48E
accent
#D9624F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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