#B13CAF#B13CAF

#B13CAF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.5% C 0.200 H 328.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B13CAF
RGBrgb(177, 60, 175)
HSLhsl(301, 49%, 46%)
HSVhsv(301, 66%, 69%)
CMYKcmyk(0%, 66.1%, 1.1%, 30.6%)
CIE-LABlab(46.55, 61.04, -37.90)
CIE-LCHlch(46.55, 71.85, 328.17°)
OKLaboklab(56.53% 0.171 -0.1046)
OKLCHoklch(56.53% 0.2 328.5)
XYZxyz(27.4849, 15.6759, 42.1272)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CAF #3CB13E
analogous
#793CB1 #B13CAF #B13C75
triadic
#B13CAF #AFB13C #3CAFB1
tetradic
#B13CAF #B1793C #3CB13E #3C75B1
square
#B13CAF #B1793C #3CB13E #3C75B1
split-complementary
#B13CAF #75B13C #3CB179
monochromatic
#561D55 #832D82 #B13CAF #C961C8 #D98FD8

Accessibility & contrast

On white

5.08
#B13CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B13CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13CAF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13CAF#FFFFFF#000000##FFFFFF
##B13CAF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#B74B71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13caf;
/* rgb */ color: rgb(177, 60, 175);
/* oklch */ color: oklch(56.5% 0.200 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bc7',
    500: '#b13caf',
    950: '#000000',
  },
}
SCSS
$custom: #b13caf;
$custom-light: #cc7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b13caf",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 301.026,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.20048,
    "h": 328.5
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#B13CAF
secondary
#85C486
accent
#D9514F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B13CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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