#B12AAE#B12AAE

#B12AAE is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.220 H 329.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B12AAE
RGBrgb(177, 42, 174)
HSLhsl(301, 62%, 43%)
HSVhsv(301, 76%, 69%)
CMYKcmyk(0%, 76.3%, 1.7%, 30.6%)
CIE-LABlab(44.32, 67.05, -40.83)
CIE-LCHlch(44.32, 78.50, 328.66°)
OKLaboklab(54.91% 0.1885 -0.113)
OKLCHoklch(54.91% 0.22 329.1)
XYZxyz(26.5992, 14.0611, 41.3493)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12AAE #2AB12D
analogous
#702AB1 #B12AAE #B12A6B
triadic
#B12AAE #AEB12A #2AAEB1
tetradic
#B12AAE #B1702A #2AB12D #2A6BB1
square
#B12AAE #B1702A #2AB12D #2A6BB1
split-complementary
#B12AAE #6BB12A #2AB170
monochromatic
#4E134D #801E7D #B12AAE #D345D0 #DF77DC

Accessibility & contrast

On white

5.51
#B12AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B12AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12AAE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12AAE#FFFFFF#000000##FFFFFF
##B12AAE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5DB2
Deuteranopia (green-blind)
#526FAB
Tritanopia (blue-blind)
#B73F6B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b12aae;
/* rgb */ color: rgb(177, 42, 174);
/* oklch */ color: oklch(54.9% 0.220 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc73c7',
    500: '#b12aae',
    950: '#000000',
  },
}
SCSS
$custom: #b12aae;
$custom-light: #cc73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12aae",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 301.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.21981,
    "h": 329.1
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#B12AAE
secondary
#70C672
accent
#E54743
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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