#B13EA9#B13EA9

#B13EA9 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.193 H 330.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B13EA9
RGBrgb(177, 62, 169)
HSLhsl(304, 48%, 47%)
HSVhsv(304, 65%, 69%)
CMYKcmyk(0%, 65%, 4.5%, 30.6%)
CIE-LABlab(46.52, 59.25, -34.39)
CIE-LCHlch(46.52, 68.51, 329.87°)
OKLaboklab(56.41% 0.1683 -0.0945)
OKLCHoklch(56.41% 0.193 330.7)
XYZxyz(27.0154, 15.6589, 39.1280)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13EA9 #3EB146
analogous
#803EB1 #B13EA9 #B13E70
triadic
#B13EA9 #A9B13E #3EA9B1
tetradic
#B13EA9 #B1803E #3EB146 #3E70B1
square
#B13EA9 #B1803E #3EB146 #3E70B1
split-complementary
#B13EA9 #70B13E #3EB180
monochromatic
#561E52 #842E7E #B13EA9 #C964C2 #D891D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B13EA9#FFFFFF#000000##FFFFFF
##B13EA91.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)
#3664AC
Deuteranopia (green-blind)
#5E74A6
Tritanopia (blue-blind)
#B84A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13ea9;
/* rgb */ color: rgb(177, 62, 169);
/* oklch */ color: oklch(56.4% 0.193 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb7cc3',
    500: '#b13ea9',
    950: '#000000',
  },
}
SCSS
$custom: #b13ea9;
$custom-light: #cb7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ea9",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 304.174,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.19306,
    "h": 330.7
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#B13EA9
secondary
#87C48B
accent
#D85A50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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