#B01BA2#B01BA2

#B01BA2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.223 H 332.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B01BA2
RGBrgb(176, 27, 162)
HSLhsl(306, 73%, 40%)
HSVhsv(306, 85%, 69%)
CMYKcmyk(0%, 84.7%, 8%, 31%)
CIE-LABlab(42.19, 68.75, -37.07)
CIE-LCHlch(42.19, 78.11, 331.67°)
OKLaboklab(53.15% 0.1984 -0.102)
OKLCHoklch(53.15% 0.223 332.8)
XYZxyz(24.8182, 12.6248, 35.3052)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B01BA2 #1BB029
analogous
#741BB0 #B01BA2 #B01B57
triadic
#B01BA2 #A2B01B #1BA2B0
tetradic
#B01BA2 #B0741B #1BB029 #1B57B0
square
#B01BA2 #B0741B #1BB029 #1B57B0
split-complementary
#B01BA2 #57B01B #1BB074
monochromatic
#460B40 #7B1371 #B01BA2 #DE2ACD #E65FDA

Accessibility & contrast

On white

5.96
#B01BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B01BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B01BA2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B01BA2#FFFFFF#000000##FFFFFF
##B01BA21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C56A5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#B83061
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b01ba2;
/* rgb */ color: rgb(176, 27, 162);
/* oklch */ color: oklch(53.2% 0.223 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc6ebe',
    500: '#b01ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b01ba2;
$custom-light: #cc6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b01ba2",
  "rgb": {
    "r": 176,
    "g": 27,
    "b": 162
  },
  "hsl": {
    "h": 305.638,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.22311,
    "h": 332.8
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#B01BA2
secondary
#5CCB67
accent
#F04938
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B01BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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