#B12DB0#B12DB0

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

Color values

HEX#B12DB0
RGBrgb(177, 45, 176)
HSLhsl(300, 59%, 44%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0%, 74.6%, 0.6%, 30.6%)
CIE-LABlab(44.75, 66.47, -41.34)
CIE-LCHlch(44.75, 78.27, 328.12°)
OKLaboklab(55.25% 0.186 -0.1145)
OKLCHoklch(55.25% 0.218 328.4)
XYZxyz(26.9060, 14.3605, 42.4206)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12DB0 #2DB12E
analogous
#702DB1 #B12DB0 #B12D6E
triadic
#B12DB0 #B0B12D #2DB0B1
tetradic
#B12DB0 #B1702D #2DB12E #2D6EB1
square
#B12DB0 #B1702D #2DB12E #2D6EB1
split-complementary
#B12DB0 #6EB12D #2DB170
monochromatic
#4F144F #80217F #B12DB0 #D14AD0 #DD7BDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12DB0#FFFFFF#000000##FFFFFF
##B12DB01.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)
#115FB4
Deuteranopia (green-blind)
#5270AD
Tritanopia (blue-blind)
#B7426D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b12db0;
/* rgb */ color: rgb(177, 45, 176);
/* oklch */ color: oklch(55.3% 0.218 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc74c8',
    500: '#b12db0',
    950: '#000000',
  },
}
SCSS
$custom: #b12db0;
$custom-light: #cc74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b12db0",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 300.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.21839,
    "h": 328.4
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#B12DB0
secondary
#74C675
accent
#E34645
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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