#B12CA3#B12CA3

#B12CA3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.210 H 332.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B12CA3
RGBrgb(177, 44, 163)
HSLhsl(306, 60%, 43%)
HSVhsv(306, 75%, 69%)
CMYKcmyk(0%, 75.1%, 7.9%, 30.6%)
CIE-LABlab(43.94, 64.73, -34.90)
CIE-LCHlch(43.94, 73.54, 331.67°)
OKLaboklab(54.45% 0.1866 -0.0959)
OKLCHoklch(54.45% 0.21 332.8)
XYZxyz(25.6431, 13.7950, 35.9554)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12CA3 #2CB13A
analogous
#7C2CB1 #B12CA3 #B12C60
triadic
#B12CA3 #A3B12C #2CA3B1
tetradic
#B12CA3 #B17C2C #2CB13A #2C60B1
square
#B12CA3 #B17C2C #2CB13A #2C60B1
split-complementary
#B12CA3 #60B12C #2CB17C
monochromatic
#4F1449 #802076 #B12CA3 #D249C3 #DE7AD3

Accessibility & contrast

On white

5.59
#B12CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B12CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12CA3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12CA3#FFFFFF#000000##FFFFFF
##B12CA31.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#B93B65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b12ca3;
/* rgb */ color: rgb(177, 44, 163);
/* oklch */ color: oklch(54.4% 0.210 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc73be',
    500: '#b12ca3',
    950: '#000000',
  },
}
SCSS
$custom: #b12ca3;
$custom-light: #cc73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b12ca3",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 306.316,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.20979,
    "h": 332.8
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#B12CA3
secondary
#73C67C
accent
#E35544
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B12CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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