#B13EA1#B13EA1

#B13EA1 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.187 H 333.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B13EA1
RGBrgb(177, 62, 161)
HSLhsl(308, 48%, 47%)
HSVhsv(308, 65%, 69%)
CMYKcmyk(0%, 65%, 9%, 30.6%)
CIE-LABlab(46.13, 57.95, -30.26)
CIE-LCHlch(46.13, 65.37, 332.43°)
OKLaboklab(56% 0.1675 -0.0827)
OKLCHoklch(56% 0.187 333.7)
XYZxyz(26.2872, 15.3677, 35.2931)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13EA1 #3EB14E
analogous
#883EB1 #B13EA1 #B13E68
triadic
#B13EA1 #A1B13E #3EA1B1
tetradic
#B13EA1 #B1883E #3EB14E #3E68B1
square
#B13EA1 #B1883E #3EB14E #3E68B1
split-complementary
#B13EA1 #68B13E #3EB188
monochromatic
#561E4F #842E78 #B13EA1 #C964BB #D891CF

Accessibility & contrast

On white

5.16
#B13EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B13EA1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13EA1#FFFFFF#000000##FFFFFF
##B13EA11.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A4
Deuteranopia (green-blind)
#62739E
Tritanopia (blue-blind)
#B9476A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13ea1;
/* rgb */ color: rgb(177, 62, 161);
/* oklch */ color: oklch(56.0% 0.187 333.7);
Tailwind
colors: {
  custom: {
    50: '#cb7cbd',
    500: '#b13ea1',
    950: '#000000',
  },
}
SCSS
$custom: #b13ea1;
$custom-light: #cb7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ea1",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 308.348,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.18681,
    "h": 333.7
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#B13EA1
secondary
#87C490
accent
#D86350
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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