#A126AE#A126AE

#A126AE is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.216 H 323.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A126AE
RGBrgb(161, 38, 174)
HSLhsl(294, 64%, 42%)
HSVhsv(294, 78%, 68%)
CMYKcmyk(7.5%, 78.2%, 0%, 31.8%)
CIE-LABlab(41.25, 64.95, -45.89)
CIE-LCHlch(41.25, 79.53, 324.76°)
OKLaboklab(52.22% 0.1745 -0.1282)
OKLCHoklch(52.22% 0.216 323.7)
XYZxyz(23.0304, 12.0207, 41.1434)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126AE #33AE26
analogous
#5D26AE #A126AE #AE2677
triadic
#A126AE #AEA126 #26AEA1
tetradic
#A126AE #AE5D26 #33AE26 #2677AE
square
#A126AE #AE5D26 #33AE26 #2677AE
split-complementary
#A126AE #77AE26 #26AE5D
monochromatic
#44104A #731B7C #A126AE #C63DD5 #D56FE0

Accessibility & contrast

On white

6.17
#A126AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A126AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126AE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126AE#FFFFFF#000000##FFFFFF
##A126AE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#A4416A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a126ae;
/* rgb */ color: rgb(161, 38, 174);
/* oklch */ color: oklch(52.2% 0.216 323.7);
Tailwind
colors: {
  custom: {
    50: '#c16fc7',
    500: '#a126ae',
    950: '#000000',
  },
}
SCSS
$custom: #a126ae;
$custom-light: #c16fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a126ae",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 294.265,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.21647,
    "h": 323.7
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#A126AE
secondary
#72C66A
accent
#E74151
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A126AE

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

Preview Lab → · Contrast checker → · Palette generator →

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