#B01FA4#B01FA4

#B01FA4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.222 H 332.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B01FA4
RGBrgb(176, 31, 164)
HSLhsl(305, 70%, 41%)
HSVhsv(305, 82%, 69%)
CMYKcmyk(0%, 82.4%, 6.8%, 31%)
CIE-LABlab(42.60, 68.18, -37.62)
CIE-LCHlch(42.60, 77.87, 331.11°)
OKLaboklab(53.48% 0.1959 -0.1037)
OKLCHoklch(53.48% 0.222 332.1)
XYZxyz(25.0954, 12.8926, 36.2816)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B01FA4 #1FB02B
analogous
#741FB0 #B01FA4 #B01F5B
triadic
#B01FA4 #A4B01F #1FA4B0
tetradic
#B01FA4 #B0741F #1FB02B #1F5BB0
square
#B01FA4 #B0741F #1FB02B #1F5BB0
split-complementary
#B01FA4 #5BB01F #1FB074
monochromatic
#480D43 #7C1674 #B01FA4 #DB31CD #E465D9

Accessibility & contrast

On white

5.87
#B01FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B01FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B01FA4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B01FA4#FFFFFF#000000##FFFFFF
##B01FA41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A7
Deuteranopia (green-blind)
#536BA1
Tritanopia (blue-blind)
#B83363
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b01fa4;
/* rgb */ color: rgb(176, 31, 164);
/* oklch */ color: oklch(53.5% 0.222 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc6fbf',
    500: '#b01fa4',
    950: '#000000',
  },
}
SCSS
$custom: #b01fa4;
$custom-light: #cc6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b01fa4",
  "rgb": {
    "r": 176,
    "g": 31,
    "b": 164
  },
  "hsl": {
    "h": 304.966,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.2216,
    "h": 332.1
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#B01FA4
secondary
#62C96A
accent
#ED4A3B
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B01FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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