#A126A6#A126A6

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

Color values

HEX#A126A6
RGBrgb(161, 38, 166)
HSLhsl(298, 63%, 40%)
HSVhsv(298, 77%, 65%)
CMYKcmyk(3%, 77.1%, 0%, 34.9%)
CIE-LABlab(40.76, 63.59, -41.89)
CIE-LCHlch(40.76, 76.15, 326.62°)
OKLaboklab(51.72% 0.175 -0.1165)
OKLCHoklch(51.72% 0.21 326.3)
XYZxyz(22.2736, 11.7180, 37.1576)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126A6 #2BA626
analogous
#6126A6 #A126A6 #A6266B
triadic
#A126A6 #A6A126 #26A6A1
tetradic
#A126A6 #A66126 #2BA626 #266BA6
square
#A126A6 #A66126 #2BA626 #266BA6
split-complementary
#A126A6 #6BA626 #26A661
monochromatic
#400F42 #711B74 #A126A6 #CB38D1 #D86ADD

Accessibility & contrast

On white

6.28
#A126A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A126A6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126A6#FFFFFF#000000##FFFFFF
##A126A61.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4665A3
Tritanopia (blue-blind)
#A53D65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a126a6;
/* rgb */ color: rgb(161, 38, 166);
/* oklch */ color: oklch(51.7% 0.210 326.3);
Tailwind
colors: {
  custom: {
    50: '#c16fc1',
    500: '#a126a6',
    950: '#000000',
  },
}
SCSS
$custom: #a126a6;
$custom-light: #c16fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a126a6",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 297.656,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.21023,
    "h": 326.3
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#A126A6
secondary
#69C365
accent
#E64248
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A126A6

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

Preview Lab → · Contrast checker → · Palette generator →

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