#B12AA0#B12AA0

#B12AA0 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.210 H 333.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B12AA0
RGBrgb(177, 42, 160)
HSLhsl(308, 62%, 43%)
HSVhsv(308, 76%, 69%)
CMYKcmyk(0%, 76.3%, 9.6%, 30.6%)
CIE-LABlab(43.57, 64.89, -33.68)
CIE-LCHlch(43.57, 73.11, 332.57°)
OKLaboklab(54.14% 0.1882 -0.0923)
OKLCHoklch(54.14% 0.21 333.9)
XYZxyz(25.3048, 13.5433, 34.5323)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12AA0 #2AB13B
analogous
#7F2AB1 #B12AA0 #B12A5C
triadic
#B12AA0 #A0B12A #2AA0B1
tetradic
#B12AA0 #B17F2A #2AB13B #2A5CB1
square
#B12AA0 #B17F2A #2AB13B #2A5CB1
split-complementary
#B12AA0 #5CB12A #2AB17F
monochromatic
#4E1347 #801E73 #B12AA0 #D345C1 #DF77D2

Accessibility & contrast

On white

5.66
#B12AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B12AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12AA0
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12AA0#FFFFFF#000000##FFFFFF
##B12AA01.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA3
Deuteranopia (green-blind)
#5A6E9D
Tritanopia (blue-blind)
#B93863
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b12aa0;
/* rgb */ color: rgb(177, 42, 160);
/* oklch */ color: oklch(54.1% 0.210 333.9);
Tailwind
colors: {
  custom: {
    50: '#cc73bc',
    500: '#b12aa0',
    950: '#000000',
  },
}
SCSS
$custom: #b12aa0;
$custom-light: #cc73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b12aa0",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 307.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.20966,
    "h": 333.9
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#B12AA0
secondary
#70C67B
accent
#E55743
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B12AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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