#B12CA0#B12CA0

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

Color values

HEX#B12CA0
RGBrgb(177, 44, 160)
HSLhsl(308, 60%, 43%)
HSVhsv(308, 75%, 69%)
CMYKcmyk(0%, 75.1%, 9.6%, 30.6%)
CIE-LABlab(43.78, 64.28, -33.35)
CIE-LCHlch(43.78, 72.41, 332.58°)
OKLaboklab(54.29% 0.1865 -0.0914)
OKLCHoklch(54.29% 0.208 333.9)
XYZxyz(25.3775, 13.6887, 34.5565)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12CA0 #2CB13D
analogous
#7F2CB1 #B12CA0 #B12C5D
triadic
#B12CA0 #A0B12C #2CA0B1
tetradic
#B12CA0 #B17F2C #2CB13D #2C5DB1
square
#B12CA0 #B17F2C #2CB13D #2C5DB1
split-complementary
#B12CA0 #5DB12C #2CB17F
monochromatic
#4F1447 #802074 #B12CA0 #D249C0 #DE7AD1

Accessibility & contrast

On white

5.62
#B12CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12CA0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12CA0#FFFFFF#000000##FFFFFF
##B12CA01.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA3
Deuteranopia (green-blind)
#5A6E9D
Tritanopia (blue-blind)
#B93964
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b12ca0;
/* rgb */ color: rgb(177, 44, 160);
/* oklch */ color: oklch(54.3% 0.208 333.9);
Tailwind
colors: {
  custom: {
    50: '#cc73bc',
    500: '#b12ca0',
    950: '#000000',
  },
}
SCSS
$custom: #b12ca0;
$custom-light: #cc73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b12ca0",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 307.669,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.20765,
    "h": 333.9
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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