#B13E9F#B13E9F

#B13E9F is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.185 H 334.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B13E9F
RGBrgb(177, 62, 159)
HSLhsl(309, 48%, 47%)
HSVhsv(309, 65%, 69%)
CMYKcmyk(0%, 65%, 10.2%, 30.6%)
CIE-LABlab(46.04, 57.63, -29.21)
CIE-LCHlch(46.04, 64.61, 333.12°)
OKLaboklab(55.9% 0.1673 -0.0797)
OKLCHoklch(55.9% 0.185 334.5)
XYZxyz(26.1123, 15.2977, 34.3716)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13E9F #3EB150
analogous
#8A3EB1 #B13E9F #B13E66
triadic
#B13E9F #9FB13E #3E9FB1
tetradic
#B13E9F #B18A3E #3EB150 #3E66B1
square
#B13E9F #B18A3E #3EB150 #3E66B1
split-complementary
#B13E9F #66B13E #3EB18A
monochromatic
#561E4E #842E76 #B13E9F #C964B9 #D891CD

Accessibility & contrast

On white

5.17
#B13E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B13E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13E9F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13E9F#FFFFFF#000000##FFFFFF
##B13E9F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A2
Deuteranopia (green-blind)
#63739C
Tritanopia (blue-blind)
#B94669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13e9f;
/* rgb */ color: rgb(177, 62, 159);
/* oklch */ color: oklch(55.9% 0.185 334.5);
Tailwind
colors: {
  custom: {
    50: '#cb7cbb',
    500: '#b13e9f',
    950: '#000000',
  },
}
SCSS
$custom: #b13e9f;
$custom-light: #cb7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#b13e9f",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 309.391,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55904,
    "c": 0.18528,
    "h": 334.5
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#B13E9F
secondary
#87C491
accent
#D86550
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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