#B12FBC#B12FBC

#B12FBC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.226 H 324.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B12FBC
RGBrgb(177, 47, 188)
HSLhsl(295, 60%, 46%)
HSVhsv(295, 75%, 74%)
CMYKcmyk(5.9%, 75%, 0%, 26.3%)
CIE-LABlab(45.65, 67.84, -46.95)
CIE-LCHlch(45.65, 82.50, 325.32°)
OKLaboklab(56.12% 0.1838 -0.1309)
OKLCHoklch(56.12% 0.226 324.6)
XYZxyz(28.2243, 15.0128, 48.9784)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12FBC #3ABC2F
analogous
#6A2FBC #B12FBC #BC2F80
triadic
#B12FBC #BCB12F #2FBCB1
tetradic
#B12FBC #BC6A2F #3ABC2F #2F80BC
square
#B12FBC #BC6A2F #3ABC2F #2F80BC
split-complementary
#B12FBC #80BC2F #2FBC6A
monochromatic
#55175A #83238B #B12FBC #CA54D4 #D985E0

Accessibility & contrast

On white

5.25
#B12FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B12FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12FBC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12FBC#FFFFFF#000000##FFFFFF
##B12FBC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#4C71B9
Tritanopia (blue-blind)
#B54974
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b12fbc;
/* rgb */ color: rgb(177, 47, 188);
/* oklch */ color: oklch(56.1% 0.226 324.6);
Tailwind
colors: {
  custom: {
    50: '#cc76d1',
    500: '#b12fbc',
    950: '#000000',
  },
}
SCSS
$custom: #b12fbc;
$custom-light: #cc76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b12fbc",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 295.319,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56121,
    "c": 0.22564,
    "h": 324.6
  },
  "luminance": 0.15011
}

Semantic roles & 50–950 ramp

primary
#B12FBC
secondary
#83CA7D
accent
#E34551
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B12FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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