#A126B1#A126B1

#A126B1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.219 H 322.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A126B1
RGBrgb(161, 38, 177)
HSLhsl(293, 65%, 42%)
HSVhsv(293, 79%, 69%)
CMYKcmyk(9%, 78.5%, 0%, 30.6%)
CIE-LABlab(41.44, 65.47, -47.37)
CIE-LCHlch(41.44, 80.81, 324.12°)
OKLaboklab(52.41% 0.1742 -0.1325)
OKLCHoklch(52.41% 0.219 322.7)
XYZxyz(23.3261, 12.1390, 42.7009)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126B1 #36B126
analogous
#5C26B1 #A126B1 #B1267B
triadic
#A126B1 #B1A126 #26B1A1
tetradic
#A126B1 #B15C26 #36B126 #267BB1
square
#A126B1 #B15C26 #36B126 #267BB1
split-complementary
#A126B1 #7BB126 #26B15C
monochromatic
#45104C #731B7F #A126B1 #C43FD6 #D471E0

Accessibility & contrast

On white

6.13
#A126B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A126B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126B1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126B1#FFFFFF#000000##FFFFFF
##A126B11.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#A3426C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a126b1;
/* rgb */ color: rgb(161, 38, 177);
/* oklch */ color: oklch(52.4% 0.219 322.7);
Tailwind
colors: {
  custom: {
    50: '#c170c9',
    500: '#a126b1',
    950: '#000000',
  },
}
SCSS
$custom: #a126b1;
$custom-light: #c170c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a126b1",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 293.094,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.21885,
    "h": 322.7
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#A126B1
secondary
#76C76B
accent
#E84053
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A126B1

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

Preview Lab → · Contrast checker → · Palette generator →

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