#B126A0#B126A0

#B126A0 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.213 H 333.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B126A0
RGBrgb(177, 38, 160)
HSLhsl(307, 65%, 42%)
HSVhsv(307, 79%, 69%)
CMYKcmyk(0%, 78.5%, 9.6%, 30.6%)
CIE-LABlab(43.17, 66.03, -34.31)
CIE-LCHlch(43.17, 74.41, 332.54°)
OKLaboklab(53.85% 0.1916 -0.0941)
OKLCHoklch(53.85% 0.213 333.8)
XYZxyz(25.1700, 13.2736, 34.4873)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B126A0 #26B137
analogous
#7D26B1 #B126A0 #B1265B
triadic
#B126A0 #A0B126 #26A0B1
tetradic
#B126A0 #B17D26 #26B137 #265BB1
square
#B126A0 #B17D26 #26B137 #265BB1
split-complementary
#B126A0 #5BB126 #26B17D
monochromatic
#4C1045 #7F1B72 #B126A0 #D63FC3 #E071D3

Accessibility & contrast

On white

5.75
#B126A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B126A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B126A0
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B126A0#FFFFFF#000000##FFFFFF
##B126A01.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A3
Deuteranopia (green-blind)
#586D9D
Tritanopia (blue-blind)
#B93562
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b126a0;
/* rgb */ color: rgb(177, 38, 160);
/* oklch */ color: oklch(53.8% 0.213 333.8);
Tailwind
colors: {
  custom: {
    50: '#cc71bc',
    500: '#b126a0',
    950: '#000000',
  },
}
SCSS
$custom: #b126a0;
$custom-light: #cc71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b126a0",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 307.338,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.21347,
    "h": 333.8
  },
  "luminance": 0.13271
}

Semantic roles & 50–950 ramp

primary
#B126A0
secondary
#6BC777
accent
#E85540
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B126A0

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

Preview Lab → · Contrast checker → · Palette generator →

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