#B12CB2#B12CB2

#B12CB2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.221 H 327.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B12CB2
RGBrgb(177, 44, 178)
HSLhsl(300, 60%, 44%)
HSVhsv(300, 75%, 70%)
CMYKcmyk(0.6%, 75.3%, 0%, 30.2%)
CIE-LABlab(44.75, 67.10, -42.51)
CIE-LCHlch(44.75, 79.43, 327.64°)
OKLaboklab(55.29% 0.1868 -0.1179)
OKLCHoklch(55.29% 0.221 327.7)
XYZxyz(27.0677, 14.3648, 43.4579)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12CB2 #2DB22C
analogous
#6E2CB2 #B12CB2 #B22C70
triadic
#B12CB2 #B2B12C #2CB2B1
tetradic
#B12CB2 #B26E2C #2DB22C #2C70B2
square
#B12CB2 #B26E2C #2DB22C #2C70B2
split-complementary
#B12CB2 #70B22C #2CB26E
monochromatic
#4F1450 #802081 #B12CB2 #D149D2 #DD7ADE

Accessibility & contrast

On white

5.42
#B12CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B12CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12CB2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12CB2#FFFFFF#000000##FFFFFF
##B12CB21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB6
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#B6426E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b12cb2;
/* rgb */ color: rgb(177, 44, 178);
/* oklch */ color: oklch(55.3% 0.221 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc74c9',
    500: '#b12cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b12cb2;
$custom-light: #cc74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b12cb2",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 299.552,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.22088,
    "h": 327.7
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#B12CB2
secondary
#74C673
accent
#E44445
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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