#A126A9#A126A9

#A126A9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.213 H 325.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A126A9
RGBrgb(161, 38, 169)
HSLhsl(296, 63%, 41%)
HSVhsv(296, 78%, 66%)
CMYKcmyk(4.7%, 77.5%, 0%, 33.7%)
CIE-LABlab(40.94, 64.09, -43.40)
CIE-LCHlch(40.94, 77.41, 325.90°)
OKLaboklab(51.9% 0.1748 -0.1209)
OKLCHoklch(51.9% 0.213 325.3)
XYZxyz(22.5520, 11.8294, 38.6239)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126A9 #2EA926
analogous
#5F26A9 #A126A9 #A9266F
triadic
#A126A9 #A9A126 #26A9A1
tetradic
#A126A9 #A95F26 #2EA926 #266FA9
square
#A126A9 #A95F26 #2EA926 #266FA9
split-complementary
#A126A9 #6FA926 #26A95F
monochromatic
#421045 #711B77 #A126A9 #C93AD3 #D76CDE

Accessibility & contrast

On white

6.24
#A126A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A126A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126A9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126A9#FFFFFF#000000##FFFFFF
##A126A91.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A53E67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a126a9;
/* rgb */ color: rgb(161, 38, 169);
/* oklch */ color: oklch(51.9% 0.213 325.3);
Tailwind
colors: {
  custom: {
    50: '#c16fc3',
    500: '#a126a9',
    950: '#000000',
  },
}
SCSS
$custom: #a126a9;
$custom-light: #c16fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a126a9",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 296.336,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.21255,
    "h": 325.3
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#A126A9
secondary
#6CC467
accent
#E6414C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A126A9

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

Preview Lab → · Contrast checker → · Palette generator →

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