#B12DB1#B12DB1

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

Color values

HEX#B12DB1
RGBrgb(177, 45, 177)
HSLhsl(300, 59%, 44%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0%, 74.6%, 0%, 30.6%)
CIE-LABlab(44.80, 66.63, -41.84)
CIE-LCHlch(44.80, 78.68, 327.87°)
OKLaboklab(55.31% 0.1859 -0.116)
OKLCHoklch(55.31% 0.219 328)
XYZxyz(27.0053, 14.4002, 42.9436)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12DB1 #2DB12D
analogous
#6F2DB1 #B12DB1 #B12D6F
triadic
#B12DB1 #B1B12D #2DB1B1
tetradic
#B12DB1 #B16F2D #2DB12D #2D6FB1
square
#B12DB1 #B16F2D #2DB12D #2D6FB1
split-complementary
#B12DB1 #6FB12D #2DB16F
monochromatic
#4F144F #802180 #B12DB1 #D14AD1 #DD7BDD

Accessibility & contrast

On white

5.41
#B12DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B12DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12DB1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12DB1#FFFFFF#000000##FFFFFF
##B12DB11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB5
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#B7426D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b12db1;
/* rgb */ color: rgb(177, 45, 177);
/* oklch */ color: oklch(55.3% 0.219 328.0);
Tailwind
colors: {
  custom: {
    50: '#cc74c9',
    500: '#b12db1',
    950: '#000000',
  },
}
SCSS
$custom: #b12db1;
$custom-light: #cc74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b12db1",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 300,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.21915,
    "h": 328
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#B12DB1
secondary
#74C674
accent
#E34545
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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