#B01FA1#B01FA1

#B01FA1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.220 H 333.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B01FA1
RGBrgb(176, 31, 161)
HSLhsl(306, 70%, 41%)
HSVhsv(306, 82%, 69%)
CMYKcmyk(0%, 82.4%, 8.5%, 31%)
CIE-LABlab(42.44, 67.73, -36.08)
CIE-LCHlch(42.44, 76.74, 331.96°)
OKLaboklab(53.31% 0.1958 -0.0992)
OKLCHoklch(53.31% 0.22 333.1)
XYZxyz(24.8277, 12.7855, 34.8716)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B01FA1 #1FB02E
analogous
#761FB0 #B01FA1 #B01F58
triadic
#B01FA1 #A1B01F #1FA1B0
tetradic
#B01FA1 #B0761F #1FB02E #1F58B0
square
#B01FA1 #B0761F #1FB02E #1F58B0
split-complementary
#B01FA1 #58B01F #1FB076
monochromatic
#480D42 #7C1671 #B01FA1 #DB31C9 #E465D7

Accessibility & contrast

On white

5.90
#B01FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B01FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B01FA1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B01FA1#FFFFFF#000000##FFFFFF
##B01FA11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A4
Deuteranopia (green-blind)
#556B9E
Tritanopia (blue-blind)
#B83261
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b01fa1;
/* rgb */ color: rgb(176, 31, 161);
/* oklch */ color: oklch(53.3% 0.220 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc6fbd',
    500: '#b01fa1',
    950: '#000000',
  },
}
SCSS
$custom: #b01fa1;
$custom-light: #cc6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b01fa1",
  "rgb": {
    "r": 176,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 306.207,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53309,
    "c": 0.21954,
    "h": 333.1
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#B01FA1
secondary
#62C96C
accent
#ED4D3B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B01FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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