#B11FAC#B11FAC

#B11FAC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.228 H 329.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B11FAC
RGBrgb(177, 31, 172)
HSLhsl(302, 70%, 41%)
HSVhsv(302, 82%, 69%)
CMYKcmyk(0%, 82.5%, 2.8%, 30.6%)
CIE-LABlab(43.22, 69.58, -41.39)
CIE-LCHlch(43.22, 80.96, 329.25°)
OKLaboklab(54.1% 0.1967 -0.1146)
OKLCHoklch(54.1% 0.228 329.8)
XYZxyz(26.0677, 13.3078, 40.2174)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B11FAC #1FB124
analogous
#6D1FB1 #B11FAC #B11F63
triadic
#B11FAC #ACB11F #1FACB1
tetradic
#B11FAC #B16D1F #1FB124 #1F63B1
square
#B11FAC #B16D1F #1FB124 #1F63B1
split-complementary
#B11FAC #63B11F #1FB16D
monochromatic
#490D47 #7D1679 #B11FAC #DB32D5 #E466E0

Accessibility & contrast

On white

5.74
#B11FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B11FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B11FAC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B11FAC#FFFFFF#000000##FFFFFF
##B11FAC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#B83867
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b11fac;
/* rgb */ color: rgb(177, 31, 172);
/* oklch */ color: oklch(54.1% 0.228 329.8);
Tailwind
colors: {
  custom: {
    50: '#cd6fc5',
    500: '#b11fac',
    950: '#000000',
  },
}
SCSS
$custom: #b11fac;
$custom-light: #cd6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b11fac",
  "rgb": {
    "r": 177,
    "g": 31,
    "b": 172
  },
  "hsl": {
    "h": 302.055,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.22766,
    "h": 329.8
  },
  "luminance": 0.13306
}

Semantic roles & 50–950 ramp

primary
#B11FAC
secondary
#62CA66
accent
#ED413B
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B11FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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