#B13DA7#B13DA7

#B13DA7 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.193 H 331.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B13DA7
RGBrgb(177, 61, 167)
HSLhsl(305, 49%, 47%)
HSVhsv(305, 66%, 69%)
CMYKcmyk(0%, 65.5%, 5.6%, 30.6%)
CIE-LABlab(46.28, 59.32, -33.59)
CIE-LCHlch(46.28, 68.17, 330.48°)
OKLaboklab(56.21% 0.1693 -0.0922)
OKLCHoklch(56.21% 0.193 331.4)
XYZxyz(26.7752, 15.4766, 38.1288)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13DA7 #3DB147
analogous
#813DB1 #B13DA7 #B13D6D
triadic
#B13DA7 #A7B13D #3DA7B1
tetradic
#B13DA7 #B1813D #3DB147 #3D6DB1
square
#B13DA7 #B1813D #3DB147 #3D6DB1
split-complementary
#B13DA7 #6DB13D #3DB181
monochromatic
#561E51 #832D7C #B13DA7 #C962C0 #D990D2

Accessibility & contrast

On white

5.13
#B13DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B13DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13DA7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13DA7#FFFFFF#000000##FFFFFF
##B13DA71.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b13da7;
/* rgb */ color: rgb(177, 61, 167);
/* oklch */ color: oklch(56.2% 0.193 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb7bc1',
    500: '#b13da7',
    950: '#000000',
  },
}
SCSS
$custom: #b13da7;
$custom-light: #cb7bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b13da7",
  "rgb": {
    "r": 177,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 305.172,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.19281,
    "h": 331.4
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#B13DA7
secondary
#86C48B
accent
#D85B50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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