#B13EA7#B13EA7

#B13EA7 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.191 H 331.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B13EA7
RGBrgb(177, 62, 167)
HSLhsl(305, 48%, 47%)
HSVhsv(305, 65%, 69%)
CMYKcmyk(0%, 65%, 5.6%, 30.6%)
CIE-LABlab(46.42, 58.92, -33.36)
CIE-LCHlch(46.42, 67.71, 330.48°)
OKLaboklab(56.31% 0.1682 -0.0916)
OKLCHoklch(56.31% 0.191 331.4)
XYZxyz(26.8291, 15.5844, 38.1467)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13EA7 #3EB148
analogous
#813EB1 #B13EA7 #B13E6E
triadic
#B13EA7 #A7B13E #3EA7B1
tetradic
#B13EA7 #B1813E #3EB148 #3E6EB1
square
#B13EA7 #B1813E #3EB148 #3E6EB1
split-complementary
#B13EA7 #6EB13E #3EB181
monochromatic
#561E51 #842E7C #B13EA7 #C964C0 #D891D2

Accessibility & contrast

On white

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

On black

4.12
#B13EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B13EA7#FFFFFF#000000##FFFFFF
##B13EA71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#B8496D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13ea7;
/* rgb */ color: rgb(177, 62, 167);
/* oklch */ color: oklch(56.3% 0.191 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb7cc1',
    500: '#b13ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b13ea7;
$custom-light: #cb7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ea7",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 305.217,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.19147,
    "h": 331.4
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#B13EA7
secondary
#87C48C
accent
#D85C50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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