#B12EAF#B12EAF

#B12EAF is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.217 H 328.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B12EAF
RGBrgb(177, 46, 175)
HSLhsl(301, 59%, 44%)
HSVhsv(301, 74%, 69%)
CMYKcmyk(0%, 74%, 1.1%, 30.6%)
CIE-LABlab(44.80, 66.00, -40.66)
CIE-LCHlch(44.80, 77.52, 328.36°)
OKLaboklab(55.27% 0.1851 -0.1126)
OKLCHoklch(55.27% 0.217 328.7)
XYZxyz(26.8461, 14.3982, 41.9143)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12EAF #2EB130
analogous
#712EB1 #B12EAF #B12E6D
triadic
#B12EAF #AFB12E #2EAFB1
tetradic
#B12EAF #B1712E #2EB130 #2E6DB1
square
#B12EAF #B1712E #2EB130 #2E6DB1
split-complementary
#B12EAF #6DB12E #2EB171
monochromatic
#50154F #80217F #B12EAF #D04CCE #DD7CDC

Accessibility & contrast

On white

5.41
#B12EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B12EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12EAF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12EAF#FFFFFF#000000##FFFFFF
##B12EAF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#B7426C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b12eaf;
/* rgb */ color: rgb(177, 46, 175);
/* oklch */ color: oklch(55.3% 0.217 328.7);
Tailwind
colors: {
  custom: {
    50: '#cc75c7',
    500: '#b12eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b12eaf;
$custom-light: #cc75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12eaf",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 300.916,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.21661,
    "h": 328.7
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#B12EAF
secondary
#75C676
accent
#E24846
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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