#B12FBE#B12FBE

#B12FBE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.227 H 323.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B12FBE
RGBrgb(177, 47, 190)
HSLhsl(295, 60%, 46%)
HSVhsv(295, 75%, 75%)
CMYKcmyk(6.8%, 75.3%, 0%, 25.5%)
CIE-LABlab(45.77, 68.18, -47.92)
CIE-LCHlch(45.77, 83.34, 324.90°)
OKLaboklab(56.24% 0.1837 -0.1337)
OKLCHoklch(56.24% 0.227 323.9)
XYZxyz(28.4414, 15.0996, 50.1217)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12FBE #3CBE2F
analogous
#692FBE #B12FBE #BE2F84
triadic
#B12FBE #BEB12F #2FBEB1
tetradic
#B12FBE #BE692F #3CBE2F #2F84BE
square
#B12FBE #BE692F #3CBE2F #2F84BE
split-complementary
#B12FBE #84BE2F #2FBE69
monochromatic
#56175C #83238D #B12FBE #C955D5 #D986E1

Accessibility & contrast

On white

5.22
#B12FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B12FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12FBE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12FBE#FFFFFF#000000##FFFFFF
##B12FBE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#4A71BB
Tritanopia (blue-blind)
#B44A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b12fbe;
/* rgb */ color: rgb(177, 47, 190);
/* oklch */ color: oklch(56.2% 0.227 323.9);
Tailwind
colors: {
  custom: {
    50: '#cc76d2',
    500: '#b12fbe',
    950: '#000000',
  },
}
SCSS
$custom: #b12fbe;
$custom-light: #cc76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b12fbe",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 294.545,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.22722,
    "h": 323.9
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#B12FBE
secondary
#85CB7E
accent
#E34453
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B12FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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