#B13FA2#B13FA2

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

Color values

HEX#B13FA2
RGBrgb(177, 63, 162)
HSLhsl(308, 48%, 47%)
HSVhsv(308, 64%, 69%)
CMYKcmyk(0%, 64.4%, 8.5%, 30.6%)
CIE-LABlab(46.33, 57.70, -30.55)
CIE-LCHlch(46.33, 65.29, 332.10°)
OKLaboklab(56.16% 0.1664 -0.0835)
OKLCHoklch(56.16% 0.186 333.4)
XYZxyz(26.4307, 15.5128, 35.7776)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13FA2 #3FB14E
analogous
#873FB1 #B13FA2 #B13F69
triadic
#B13FA2 #A2B13F #3FA2B1
tetradic
#B13FA2 #B1873F #3FB14E #3F69B1
square
#B13FA2 #B1873F #3FB14E #3F69B1
split-complementary
#B13FA2 #69B13F #3FB187
monochromatic
#571F4F #842F79 #B13FA2 #C865BB #D892CF

Accessibility & contrast

On white

5.12
#B13FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B13FA2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13FA2#FFFFFF#000000##FFFFFF
##B13FA21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#B9486B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13fa2;
/* rgb */ color: rgb(177, 63, 162);
/* oklch */ color: oklch(56.2% 0.186 333.4);
Tailwind
colors: {
  custom: {
    50: '#cb7cbe',
    500: '#b13fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b13fa2;
$custom-light: #cb7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b13fa2",
  "rgb": {
    "r": 177,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 307.895,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.18621,
    "h": 333.4
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#B13FA2
secondary
#88C490
accent
#D76251
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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