#B13FA7#B13FA7

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

Color values

HEX#B13FA7
RGBrgb(177, 63, 167)
HSLhsl(305, 48%, 47%)
HSVhsv(305, 64%, 69%)
CMYKcmyk(0%, 64.4%, 5.6%, 30.6%)
CIE-LABlab(46.57, 58.51, -33.13)
CIE-LCHlch(46.57, 67.24, 330.48°)
OKLaboklab(56.42% 0.167 -0.0909)
OKLCHoklch(56.42% 0.19 331.4)
XYZxyz(26.8840, 15.6941, 38.1650)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13FA7 #3FB149
analogous
#823FB1 #B13FA7 #B13F6E
triadic
#B13FA7 #A7B13F #3FA7B1
tetradic
#B13FA7 #B1823F #3FB149 #3F6EB1
square
#B13FA7 #B1823F #3FB149 #3F6EB1
split-complementary
#B13FA7 #6EB13F #3FB182
monochromatic
#571F52 #842F7C #B13FA7 #C865BF #D892D2

Accessibility & contrast

On white

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

On black

4.14
#B13FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B13FA7#FFFFFF#000000##FFFFFF
##B13FA71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AA
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#B84A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13fa7;
/* rgb */ color: rgb(177, 63, 167);
/* oklch */ color: oklch(56.4% 0.190 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb7cc1',
    500: '#b13fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b13fa7;
$custom-light: #cb7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b13fa7",
  "rgb": {
    "r": 177,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 305.263,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.19013,
    "h": 331.4
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B13FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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