#B12EAE#B12EAE

#B12EAE is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.216 H 329.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B12EAE
RGBrgb(177, 46, 174)
HSLhsl(301, 59%, 44%)
HSVhsv(301, 74%, 69%)
CMYKcmyk(0%, 74%, 1.7%, 30.6%)
CIE-LABlab(44.74, 65.83, -40.16)
CIE-LCHlch(44.74, 77.12, 328.62°)
OKLaboklab(55.22% 0.1851 -0.1111)
OKLCHoklch(55.22% 0.216 329)
XYZxyz(26.7482, 14.3591, 41.3990)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12EAE #2EB131
analogous
#722EB1 #B12EAE #B12E6C
triadic
#B12EAE #AEB12E #2EAEB1
tetradic
#B12EAE #B1722E #2EB131 #2E6CB1
square
#B12EAE #B1722E #2EB131 #2E6CB1
split-complementary
#B12EAE #6CB12E #2EB172
monochromatic
#50154E #80217E #B12EAE #D04CCD #DD7CDB

Accessibility & contrast

On white

5.42
#B12EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B12EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12EAE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12EAE#FFFFFF#000000##FFFFFF
##B12EAE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12eae;
/* rgb */ color: rgb(177, 46, 174);
/* oklch */ color: oklch(55.2% 0.216 329.0);
Tailwind
colors: {
  custom: {
    50: '#cc75c7',
    500: '#b12eae',
    950: '#000000',
  },
}
SCSS
$custom: #b12eae;
$custom-light: #cc75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12eae",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 301.374,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.21586,
    "h": 329
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#B12EAE
secondary
#75C677
accent
#E24946
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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