#B126A9#B126A9

#B126A9 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.220 H 330.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B126A9
RGBrgb(177, 38, 169)
HSLhsl(303, 65%, 42%)
HSVhsv(303, 79%, 69%)
CMYKcmyk(0%, 78.5%, 4.5%, 30.6%)
CIE-LABlab(43.65, 67.39, -38.92)
CIE-LCHlch(43.65, 77.82, 329.99°)
OKLaboklab(54.35% 0.1918 -0.1075)
OKLCHoklch(54.35% 0.22 330.7)
XYZxyz(25.9860, 13.6000, 38.7849)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B126A9 #26B12E
analogous
#7326B1 #B126A9 #B12664
triadic
#B126A9 #A9B126 #26A9B1
tetradic
#B126A9 #B17326 #26B12E #2664B1
square
#B126A9 #B17326 #26B12E #2664B1
split-complementary
#B126A9 #64B126 #26B173
monochromatic
#4C1049 #7F1B79 #B126A9 #D63FCD #E071DA

Accessibility & contrast

On white

5.65
#B126A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B126A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B126A9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B126A9#FFFFFF#000000##FFFFFF
##B126A91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125BAC
Deuteranopia (green-blind)
#546EA6
Tritanopia (blue-blind)
#B83A67
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b126a9;
/* rgb */ color: rgb(177, 38, 169);
/* oklch */ color: oklch(54.3% 0.220 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc72c3',
    500: '#b126a9',
    950: '#000000',
  },
}
SCSS
$custom: #b126a9;
$custom-light: #cc72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b126a9",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 303.453,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.21983,
    "h": 330.7
  },
  "luminance": 0.13598
}

Semantic roles & 50–950 ramp

primary
#B126A9
secondary
#6BC771
accent
#E84A40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B126A9

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

Preview Lab → · Contrast checker → · Palette generator →

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