#B126BD#B126BD

#B126BD is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.5% C 0.235 H 324.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B126BD
RGBrgb(177, 38, 189)
HSLhsl(295, 67%, 45%)
HSVhsv(295, 80%, 74%)
CMYKcmyk(6.3%, 79.9%, 0%, 25.9%)
CIE-LABlab(44.81, 70.60, -48.87)
CIE-LCHlch(44.81, 85.86, 325.31°)
OKLaboklab(55.55% 0.1909 -0.1364)
OKLCHoklch(55.55% 0.235 324.4)
XYZxyz(28.0091, 14.4093, 49.4403)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B126BD #32BD26
analogous
#6626BD #B126BD #BD267E
triadic
#B126BD #BDB126 #26BDB1
tetradic
#B126BD #BD6626 #32BD26 #267EBD
square
#B126BD #BD6626 #32BD26 #267EBD
split-complementary
#B126BD #7EBD26 #26BD66
monochromatic
#521257 #811C8A #B126BD #CE46DA #DC79E4

Accessibility & contrast

On white

5.41
#B126BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B126BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B126BD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B126BD#FFFFFF#000000##FFFFFF
##B126BD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#476FBA
Tritanopia (blue-blind)
#B54573
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b126bd;
/* rgb */ color: rgb(177, 38, 189);
/* oklch */ color: oklch(55.5% 0.235 324.4);
Tailwind
colors: {
  custom: {
    50: '#cd72d1',
    500: '#b126bd',
    950: '#000000',
  },
}
SCSS
$custom: #b126bd;
$custom-light: #cd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b126bd",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 295.232,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55546,
    "c": 0.23462,
    "h": 324.4
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#B126BD
secondary
#7ACC73
accent
#E93E4C
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B126BD

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

Preview Lab → · Contrast checker → · Palette generator →

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