#B12EAA#B12EAA

#B12EAA is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.213 H 330.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B12EAA
RGBrgb(177, 46, 170)
HSLhsl(303, 59%, 44%)
HSVhsv(303, 74%, 69%)
CMYKcmyk(0%, 74%, 4%, 30.6%)
CIE-LABlab(44.53, 65.19, -38.14)
CIE-LCHlch(44.53, 75.53, 329.67°)
OKLaboklab(54.99% 0.185 -0.1052)
OKLCHoklch(54.99% 0.213 330.4)
XYZxyz(26.3641, 14.2055, 39.3758)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12EAA #2EB135
analogous
#762EB1 #B12EAA #B12E68
triadic
#B12EAA #AAB12E #2EAAB1
tetradic
#B12EAA #B1762E #2EB135 #2E68B1
square
#B12EAA #B1762E #2EB135 #2E68B1
split-complementary
#B12EAA #68B12E #2EB176
monochromatic
#50154D #80217B #B12EAA #D04CC9 #DD7CD8

Accessibility & contrast

On white

5.47
#B12EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B12EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12EAA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12EAA#FFFFFF#000000##FFFFFF
##B12EAA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#B83F6A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b12eaa;
/* rgb */ color: rgb(177, 46, 170);
/* oklch */ color: oklch(55.0% 0.213 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc75c4',
    500: '#b12eaa',
    950: '#000000',
  },
}
SCSS
$custom: #b12eaa;
$custom-light: #cc75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12eaa",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 303.206,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.21286,
    "h": 330.4
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#B12EAA
secondary
#75C67A
accent
#E24E46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B12EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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