#B13FAC#B13FAC

#B13FAC is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.194 H 329.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B13FAC
RGBrgb(177, 63, 172)
HSLhsl(303, 48%, 47%)
HSVhsv(303, 64%, 69%)
CMYKcmyk(0%, 64.4%, 2.8%, 30.6%)
CIE-LABlab(46.82, 59.34, -35.70)
CIE-LCHlch(46.82, 69.25, 328.97°)
OKLaboklab(56.68% 0.1674 -0.0983)
OKLCHoklch(56.68% 0.194 329.6)
XYZxyz(27.3551, 15.8826, 40.6466)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13FAC #3FB144
analogous
#7D3FB1 #B13FAC #B13F73
triadic
#B13FAC #ACB13F #3FACB1
tetradic
#B13FAC #B17D3F #3FB144 #3F73B1
square
#B13FAC #B17D3F #3FB144 #3F73B1
split-complementary
#B13FAC #73B13F #3FB17D
monochromatic
#571F54 #842F80 #B13FAC #C865C4 #D892D5

Accessibility & contrast

On white

5.03
#B13FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B13FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13FAC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13FAC#FFFFFF#000000##FFFFFF
##B13FAC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#5D74A9
Tritanopia (blue-blind)
#B74C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b13fac;
/* rgb */ color: rgb(177, 63, 172);
/* oklch */ color: oklch(56.7% 0.194 329.6);
Tailwind
colors: {
  custom: {
    50: '#cb7cc5',
    500: '#b13fac',
    950: '#000000',
  },
}
SCSS
$custom: #b13fac;
$custom-light: #cb7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b13fac",
  "rgb": {
    "r": 177,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 302.632,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.19414,
    "h": 329.6
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#B13FAC
secondary
#88C48B
accent
#D75751
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B13FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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