#B126AE#B126AE

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

Color values

HEX#B126AE
RGBrgb(177, 38, 174)
HSLhsl(301, 65%, 42%)
HSVhsv(301, 79%, 69%)
CMYKcmyk(0%, 78.5%, 1.7%, 30.6%)
CIE-LABlab(43.93, 68.17, -41.45)
CIE-LCHlch(43.93, 79.78, 328.70°)
OKLaboklab(54.64% 0.1917 -0.1148)
OKLCHoklch(54.64% 0.223 329.1)
XYZxyz(26.4643, 13.7914, 41.3044)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B126AE #26B129
analogous
#6F26B1 #B126AE #B12669
triadic
#B126AE #AEB126 #26AEB1
tetradic
#B126AE #B16F26 #26B129 #2669B1
square
#B126AE #B16F26 #26B129 #2669B1
split-complementary
#B126AE #69B126 #26B16F
monochromatic
#4C104B #7F1B7C #B126AE #D63FD2 #E071DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B126AE#FFFFFF#000000##FFFFFF
##B126AE1.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)
#025CB2
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#B73D6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b126ae;
/* rgb */ color: rgb(177, 38, 174);
/* oklch */ color: oklch(54.6% 0.223 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c7',
    500: '#b126ae',
    950: '#000000',
  },
}
SCSS
$custom: #b126ae;
$custom-light: #cc72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b126ae",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 301.295,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54637,
    "c": 0.22346,
    "h": 329.1
  },
  "luminance": 0.13789
}

Semantic roles & 50–950 ramp

primary
#B126AE
secondary
#6BC76D
accent
#E84440
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B126AE

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

Preview Lab → · Contrast checker → · Palette generator →

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