#B12DA1#B12DA1

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

Color values

HEX#B12DA1
RGBrgb(177, 45, 161)
HSLhsl(307, 59%, 44%)
HSVhsv(307, 75%, 69%)
CMYKcmyk(0%, 74.6%, 9%, 30.6%)
CIE-LABlab(43.94, 64.12, -33.69)
CIE-LCHlch(43.94, 72.43, 332.28°)
OKLaboklab(54.42% 0.1856 -0.0924)
OKLCHoklch(54.42% 0.207 333.5)
XYZxyz(25.5031, 13.7993, 35.0317)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12DA1 #2DB13D
analogous
#7F2DB1 #B12DA1 #B12D5F
triadic
#B12DA1 #A1B12D #2DA1B1
tetradic
#B12DA1 #B17F2D #2DB13D #2D5FB1
square
#B12DA1 #B17F2D #2DB13D #2D5FB1
split-complementary
#B12DA1 #5FB12D #2DB17F
monochromatic
#4F1448 #802175 #B12DA1 #D14AC1 #DD7BD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12DA1#FFFFFF#000000##FFFFFF
##B12DA11.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)
#285CA4
Deuteranopia (green-blind)
#5A6F9E
Tritanopia (blue-blind)
#B93A64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b12da1;
/* rgb */ color: rgb(177, 45, 161);
/* oklch */ color: oklch(54.4% 0.207 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc74bd',
    500: '#b12da1',
    950: '#000000',
  },
}
SCSS
$custom: #b12da1;
$custom-light: #cc74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b12da1",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 307.273,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.20732,
    "h": 333.5
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#B12DA1
secondary
#74C67E
accent
#E35845
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B12DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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