#A126A5#A126A5

#A126A5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.209 H 326.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A126A5
RGBrgb(161, 38, 165)
HSLhsl(298, 63%, 40%)
HSVhsv(298, 77%, 65%)
CMYKcmyk(2.4%, 77%, 0%, 35.3%)
CIE-LABlab(40.71, 63.42, -41.39)
CIE-LCHlch(40.71, 75.73, 326.87°)
OKLaboklab(51.66% 0.175 -0.115)
OKLCHoklch(51.66% 0.209 326.7)
XYZxyz(22.1822, 11.6815, 36.6764)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126A5 #2AA526
analogous
#6126A5 #A126A5 #A5266A
triadic
#A126A5 #A5A126 #26A5A1
tetradic
#A126A5 #A56126 #2AA526 #266AA5
square
#A126A5 #A56126 #2AA526 #266AA5
split-complementary
#A126A5 #6AA526 #26A561
monochromatic
#400F42 #701B73 #A126A5 #CC37D1 #D969DC

Accessibility & contrast

On white

6.29
#A126A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A126A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126A5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126A5#FFFFFF#000000##FFFFFF
##A126A51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A53C65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a126a5;
/* rgb */ color: rgb(161, 38, 165);
/* oklch */ color: oklch(51.7% 0.209 326.7);
Tailwind
colors: {
  custom: {
    50: '#c16fc0',
    500: '#a126a5',
    950: '#000000',
  },
}
SCSS
$custom: #a126a5;
$custom-light: #c16fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a126a5",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 298.11,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.20945,
    "h": 326.7
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#A126A5
secondary
#67C364
accent
#E64247
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A126A5

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

Preview Lab → · Contrast checker → · Palette generator →

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