#B13BAF#B13BAF

#B13BAF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.4% C 0.202 H 328.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B13BAF
RGBrgb(177, 59, 175)
HSLhsl(301, 50%, 46%)
HSVhsv(301, 67%, 69%)
CMYKcmyk(0%, 66.7%, 1.1%, 30.6%)
CIE-LABlab(46.41, 61.43, -38.12)
CIE-LCHlch(46.41, 72.30, 328.18°)
OKLaboklab(56.43% 0.1721 -0.1053)
OKLCHoklch(56.43% 0.202 328.5)
XYZxyz(27.4330, 15.5721, 42.1099)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13BAF #3BB13D
analogous
#783BB1 #B13BAF #B13B74
triadic
#B13BAF #AFB13B #3BAFB1
tetradic
#B13BAF #B1783B #3BB13D #3B74B1
square
#B13BAF #B1783B #3BB13D #3B74B1
split-complementary
#B13BAF #74B13B #3BB178
monochromatic
#551C54 #832C82 #B13BAF #CA5FC8 #D98DD8

Accessibility & contrast

On white

5.10
#B13BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B13BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13BAF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13BAF#FFFFFF#000000##FFFFFF
##B13BAF1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#5A73AC
Tritanopia (blue-blind)
#B74B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13baf;
/* rgb */ color: rgb(177, 59, 175);
/* oklch */ color: oklch(56.4% 0.202 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bc7',
    500: '#b13baf',
    950: '#000000',
  },
}
SCSS
$custom: #b13baf;
$custom-light: #cc7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b13baf",
  "rgb": {
    "r": 177,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 301.017,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.20175,
    "h": 328.5
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#B13BAF
secondary
#84C485
accent
#DA514E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B13BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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