#B13CA7#B13CA7

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

Color values

HEX#B13CA7
RGBrgb(177, 60, 167)
HSLhsl(305, 49%, 46%)
HSVhsv(305, 66%, 69%)
CMYKcmyk(0%, 66.1%, 5.6%, 30.6%)
CIE-LABlab(46.14, 59.72, -33.81)
CIE-LCHlch(46.14, 68.63, 330.48°)
OKLaboklab(56.1% 0.1705 -0.0929)
OKLCHoklch(56.1% 0.194 331.4)
XYZxyz(26.7223, 15.3709, 38.1112)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CA7 #3CB146
analogous
#813CB1 #B13CA7 #B13C6D
triadic
#B13CA7 #A7B13C #3CA7B1
tetradic
#B13CA7 #B1813C #3CB146 #3C6DB1
square
#B13CA7 #B1813C #3CB146 #3C6DB1
split-complementary
#B13CA7 #6DB13C #3CB181
monochromatic
#561D51 #832D7C #B13CA7 #C961C0 #D98FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B13CA7#FFFFFF#000000##FFFFFF
##B13CA71.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#5E73A4
Tritanopia (blue-blind)
#B8486C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13ca7;
/* rgb */ color: rgb(177, 60, 167);
/* oklch */ color: oklch(56.1% 0.194 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc7bc1',
    500: '#b13ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b13ca7;
$custom-light: #cc7bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ca7",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 305.128,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.19411,
    "h": 331.4
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#B13CA7
secondary
#85C48A
accent
#D95B4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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