#A126A1#A126A1

#A126A1 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.206 H 328.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A126A1
RGBrgb(161, 38, 161)
HSLhsl(300, 62%, 39%)
HSVhsv(300, 76%, 63%)
CMYKcmyk(0%, 76.4%, 0%, 36.9%)
CIE-LABlab(40.47, 62.76, -39.36)
CIE-LCHlch(40.47, 74.08, 327.90°)
OKLaboklab(51.42% 0.1752 -0.1091)
OKLCHoklch(51.42% 0.206 328.1)
XYZxyz(21.8238, 11.5381, 34.7889)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126A1 #26A126
analogous
#6426A1 #A126A1 #A12664
triadic
#A126A1 #A1A126 #26A1A1
tetradic
#A126A1 #A16426 #26A126 #2664A1
square
#A126A1 #A16426 #26A126 #2664A1
split-complementary
#A126A1 #64A126 #26A164
monochromatic
#3E0F3E #6F1A6F #A126A1 #CF35CF #DB66DB

Accessibility & contrast

On white

6.35
#A126A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A126A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126A1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126A1#FFFFFF#000000##FFFFFF
##A126A11.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0555A4
Deuteranopia (green-blind)
#49659E
Tritanopia (blue-blind)
#A63A62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a126a1;
/* rgb */ color: rgb(161, 38, 161);
/* oklch */ color: oklch(51.4% 0.206 328.1);
Tailwind
colors: {
  custom: {
    50: '#c16fbd',
    500: '#a126a1',
    950: '#000000',
  },
}
SCSS
$custom: #a126a1;
$custom-light: #c16fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a126a1",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 300,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.20638,
    "h": 328.1
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#A126A1
secondary
#62C162
accent
#E54343
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A126A1

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

Preview Lab → · Contrast checker → · Palette generator →

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