#A126A3#A126A3

#A126A3 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.208 H 327.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A126A3
RGBrgb(161, 38, 163)
HSLhsl(299, 62%, 39%)
HSVhsv(299, 77%, 64%)
CMYKcmyk(1.2%, 76.7%, 0%, 36.1%)
CIE-LABlab(40.59, 63.09, -40.38)
CIE-LCHlch(40.59, 74.90, 327.38°)
OKLaboklab(51.54% 0.1751 -0.1121)
OKLCHoklch(51.54% 0.208 327.4)
XYZxyz(22.0016, 11.6092, 35.7252)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126A3 #28A326
analogous
#6326A3 #A126A3 #A32667
triadic
#A126A3 #A3A126 #26A3A1
tetradic
#A126A3 #A36326 #28A326 #2667A3
square
#A126A3 #A36326 #28A326 #2667A3
split-complementary
#A126A3 #67A326 #26A363
monochromatic
#3F0F40 #701A71 #A126A3 #CE36D0 #DA68DC

Accessibility & contrast

On white

6.32
#A126A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A126A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126A3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126A3#FFFFFF#000000##FFFFFF
##A126A31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#A63B64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a126a3;
/* rgb */ color: rgb(161, 38, 163);
/* oklch */ color: oklch(51.5% 0.208 327.4);
Tailwind
colors: {
  custom: {
    50: '#c16fbf',
    500: '#a126a3',
    950: '#000000',
  },
}
SCSS
$custom: #a126a3;
$custom-light: #c16fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a126a3",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 299.04,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.2079,
    "h": 327.4
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#A126A3
secondary
#65C263
accent
#E54345
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A126A3

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

Preview Lab → · Contrast checker → · Palette generator →

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