#B12CA1#B12CA1

#B12CA1 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.208 H 333.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B12CA1
RGBrgb(177, 44, 161)
HSLhsl(307, 60%, 43%)
HSVhsv(307, 75%, 69%)
CMYKcmyk(0%, 75.1%, 9%, 30.6%)
CIE-LABlab(43.83, 64.43, -33.87)
CIE-LCHlch(43.83, 72.79, 332.27°)
OKLaboklab(54.34% 0.1865 -0.0929)
OKLCHoklch(54.34% 0.208 333.5)
XYZxyz(25.4654, 13.7239, 35.0191)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12CA1 #2CB13C
analogous
#7E2CB1 #B12CA1 #B12C5E
triadic
#B12CA1 #A1B12C #2CA1B1
tetradic
#B12CA1 #B17E2C #2CB13C #2C5EB1
square
#B12CA1 #B17E2C #2CB13C #2C5EB1
split-complementary
#B12CA1 #5EB12C #2CB17E
monochromatic
#4F1448 #802074 #B12CA1 #D249C1 #DE7AD2

Accessibility & contrast

On white

5.61
#B12CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B12CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12CA1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12CA1#FFFFFF#000000##FFFFFF
##B12CA11.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA4
Deuteranopia (green-blind)
#5A6E9E
Tritanopia (blue-blind)
#B93964
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b12ca1;
/* rgb */ color: rgb(177, 44, 161);
/* oklch */ color: oklch(54.3% 0.208 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc73bd',
    500: '#b12ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b12ca1;
$custom-light: #cc73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b12ca1",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 307.218,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.20835,
    "h": 333.5
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#B12CA1
secondary
#73C67D
accent
#E35844
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B12CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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