#B12FB3#B12FB3

#B12FB3 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.219 H 327.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B12FB3
RGBrgb(177, 47, 179)
HSLhsl(299, 58%, 44%)
HSVhsv(299, 74%, 70%)
CMYKcmyk(1.1%, 73.7%, 0%, 29.8%)
CIE-LABlab(45.13, 66.33, -42.49)
CIE-LCHlch(45.13, 78.77, 327.36°)
OKLaboklab(55.58% 0.1841 -0.1179)
OKLCHoklch(55.58% 0.219 327.4)
XYZxyz(27.2843, 14.6368, 44.0272)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12FB3 #31B32F
analogous
#6F2FB3 #B12FB3 #B32F73
triadic
#B12FB3 #B3B12F #2FB3B1
tetradic
#B12FB3 #B36F2F #31B32F #2F73B3
square
#B12FB3 #B36F2F #31B32F #2F73B3
split-complementary
#B12FB3 #73B32F #2FB36F
monochromatic
#511652 #812283 #B12FB3 #CF4FD1 #DC7FDD

Accessibility & contrast

On white

5.35
#B12FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B12FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12FB3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12FB3#FFFFFF#000000##FFFFFF
##B12FB31.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E60B7
Deuteranopia (green-blind)
#5171B0
Tritanopia (blue-blind)
#B6446F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b12fb3;
/* rgb */ color: rgb(177, 47, 179);
/* oklch */ color: oklch(55.6% 0.219 327.4);
Tailwind
colors: {
  custom: {
    50: '#cc75ca',
    500: '#b12fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b12fb3;
$custom-light: #cc75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b12fb3",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 299.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55584,
    "c": 0.21864,
    "h": 327.4
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#B12FB3
secondary
#79C678
accent
#E24649
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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