#B126AA#B126AA

#B126AA is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.221 H 330.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B126AA
RGBrgb(177, 38, 170)
HSLhsl(303, 65%, 42%)
HSVhsv(303, 79%, 69%)
CMYKcmyk(0%, 78.5%, 4%, 30.6%)
CIE-LABlab(43.71, 67.54, -39.43)
CIE-LCHlch(43.71, 78.21, 329.72°)
OKLaboklab(54.41% 0.1918 -0.1089)
OKLCHoklch(54.41% 0.221 330.4)
XYZxyz(26.0802, 13.6377, 39.2812)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B126AA #26B12D
analogous
#7326B1 #B126AA #B12664
triadic
#B126AA #AAB126 #26AAB1
tetradic
#B126AA #B17326 #26B12D #2664B1
square
#B126AA #B17326 #26B12D #2664B1
split-complementary
#B126AA #64B126 #26B173
monochromatic
#4C1049 #7F1B7A #B126AA #D63FCE #E071DB

Accessibility & contrast

On white

5.63
#B126AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B126AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B126AA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B126AA#FFFFFF#000000##FFFFFF
##B126AA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#B83A68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b126aa;
/* rgb */ color: rgb(177, 38, 170);
/* oklch */ color: oklch(54.4% 0.221 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c4',
    500: '#b126aa',
    950: '#000000',
  },
}
SCSS
$custom: #b126aa;
$custom-light: #cc72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b126aa",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 303.022,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.22056,
    "h": 330.4
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#B126AA
secondary
#6BC770
accent
#E84940
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B126AA

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

Preview Lab → · Contrast checker → · Palette generator →

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