#B13FA8#B13FA8

#B13FA8 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.191 H 331.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B13FA8
RGBrgb(177, 63, 168)
HSLhsl(305, 48%, 47%)
HSVhsv(305, 64%, 69%)
CMYKcmyk(0%, 64.4%, 5.1%, 30.6%)
CIE-LABlab(46.62, 58.68, -33.65)
CIE-LCHlch(46.62, 67.64, 330.17°)
OKLaboklab(56.47% 0.1671 -0.0924)
OKLCHoklch(56.47% 0.191 331.1)
XYZxyz(26.9768, 15.7313, 38.6538)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13FA8 #3FB148
analogous
#813FB1 #B13FA8 #B13F6F
triadic
#B13FA8 #A8B13F #3FA8B1
tetradic
#B13FA8 #B1813F #3FB148 #3F6FB1
square
#B13FA8 #B1813F #3FB148 #3F6FB1
split-complementary
#B13FA8 #6FB13F #3FB181
monochromatic
#571F52 #842F7D #B13FA8 #C865C0 #D892D3

Accessibility & contrast

On white

5.07
#B13FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B13FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13FA8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13FA8#FFFFFF#000000##FFFFFF
##B13FA81.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AB
Deuteranopia (green-blind)
#5F74A5
Tritanopia (blue-blind)
#B84B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13fa8;
/* rgb */ color: rgb(177, 63, 168);
/* oklch */ color: oklch(56.5% 0.191 331.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cc2',
    500: '#b13fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b13fa8;
$custom-light: #cb7cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b13fa8",
  "rgb": {
    "r": 177,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 304.737,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.19092,
    "h": 331.1
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#B13FA8
secondary
#88C48D
accent
#D75B51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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