#B12DAE#B12DAE

#B12DAE is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.217 H 329.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B12DAE
RGBrgb(177, 45, 174)
HSLhsl(301, 59%, 44%)
HSVhsv(301, 75%, 69%)
CMYKcmyk(0%, 74.6%, 1.7%, 30.6%)
CIE-LABlab(44.63, 66.15, -40.33)
CIE-LCHlch(44.63, 77.47, 328.63°)
OKLaboklab(55.14% 0.186 -0.1116)
OKLCHoklch(55.14% 0.217 329)
XYZxyz(26.7096, 14.2819, 41.3861)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12DAE #2DB130
analogous
#722DB1 #B12DAE #B12D6C
triadic
#B12DAE #AEB12D #2DAEB1
tetradic
#B12DAE #B1722D #2DB130 #2D6CB1
square
#B12DAE #B1722D #2DB130 #2D6CB1
split-complementary
#B12DAE #6CB12D #2DB172
monochromatic
#4F144E #80217E #B12DAE #D14ACE #DD7BDB

Accessibility & contrast

On white

5.45
#B12DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B12DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12DAE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12DAE#FFFFFF#000000##FFFFFF
##B12DAE1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#B7416C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b12dae;
/* rgb */ color: rgb(177, 45, 174);
/* oklch */ color: oklch(55.1% 0.217 329.0);
Tailwind
colors: {
  custom: {
    50: '#cc74c7',
    500: '#b12dae',
    950: '#000000',
  },
}
SCSS
$custom: #b12dae;
$custom-light: #cc74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12dae",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 301.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.21688,
    "h": 329
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#B12DAE
secondary
#74C676
accent
#E34945
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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