#B13EA2#B13EA2

#B13EA2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.188 H 333.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B13EA2
RGBrgb(177, 62, 162)
HSLhsl(308, 48%, 47%)
HSVhsv(308, 65%, 69%)
CMYKcmyk(0%, 65%, 8.5%, 30.6%)
CIE-LABlab(46.18, 58.11, -30.78)
CIE-LCHlch(46.18, 65.76, 332.09°)
OKLaboklab(56.05% 0.1676 -0.0842)
OKLCHoklch(56.05% 0.188 333.3)
XYZxyz(26.3758, 15.4031, 35.7593)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13EA2 #3EB14D
analogous
#873EB1 #B13EA2 #B13E69
triadic
#B13EA2 #A2B13E #3EA2B1
tetradic
#B13EA2 #B1873E #3EB14D #3E69B1
square
#B13EA2 #B1873E #3EB14D #3E69B1
split-complementary
#B13EA2 #69B13E #3EB187
monochromatic
#561E4F #842E79 #B13EA2 #C964BB #D891CF

Accessibility & contrast

On white

5.15
#B13EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B13EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13EA2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13EA2#FFFFFF#000000##FFFFFF
##B13EA21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#B9476A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13ea2;
/* rgb */ color: rgb(177, 62, 162);
/* oklch */ color: oklch(56.1% 0.188 333.3);
Tailwind
colors: {
  custom: {
    50: '#cb7cbe',
    500: '#b13ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b13ea2;
$custom-light: #cb7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ea2",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 307.826,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.18758,
    "h": 333.3
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#B13EA2
secondary
#87C48F
accent
#D86250
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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