#B12FAA#B12FAA

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

Color values

HEX#B12FAA
RGBrgb(177, 47, 170)
HSLhsl(303, 58%, 44%)
HSVhsv(303, 73%, 69%)
CMYKcmyk(0%, 73.4%, 4%, 30.6%)
CIE-LABlab(44.64, 64.87, -37.96)
CIE-LCHlch(44.64, 75.16, 329.67°)
OKLaboklab(55.07% 0.1841 -0.1047)
OKLCHoklch(55.07% 0.212 330.4)
XYZxyz(26.4036, 14.2845, 39.3890)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12FAA #2FB136
analogous
#772FB1 #B12FAA #B12F69
triadic
#B12FAA #AAB12F #2FAAB1
tetradic
#B12FAA #B1772F #2FB136 #2F69B1
square
#B12FAA #B1772F #2FB136 #2F69B1
split-complementary
#B12FAA #69B12F #2FB177
monochromatic
#50154D #81227C #B12FAA #D04DC9 #DD7ED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12FAA#FFFFFF#000000##FFFFFF
##B12FAA1.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)
#205EAD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#B8406A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b12faa;
/* rgb */ color: rgb(177, 47, 170);
/* oklch */ color: oklch(55.1% 0.212 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc75c4',
    500: '#b12faa',
    950: '#000000',
  },
}
SCSS
$custom: #b12faa;
$custom-light: #cc75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12faa",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 303.231,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.2118,
    "h": 330.4
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#B12FAA
secondary
#76C57B
accent
#E14F47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B12FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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