#A126A2#A126A2

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

Color values

HEX#A126A2
RGBrgb(161, 38, 162)
HSLhsl(300, 62%, 39%)
HSVhsv(300, 77%, 64%)
CMYKcmyk(0.6%, 76.5%, 0%, 36.5%)
CIE-LABlab(40.53, 62.92, -39.87)
CIE-LCHlch(40.53, 74.49, 327.64°)
OKLaboklab(51.48% 0.1751 -0.1106)
OKLCHoklch(51.48% 0.207 327.7)
XYZxyz(21.9123, 11.5735, 35.2552)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126A2 #27A226
analogous
#6326A2 #A126A2 #A22665
triadic
#A126A2 #A2A126 #26A2A1
tetradic
#A126A2 #A26326 #27A226 #2665A2
square
#A126A2 #A26326 #27A226 #2665A2
split-complementary
#A126A2 #65A226 #26A263
monochromatic
#3E0F3F #701A70 #A126A2 #CE35D0 #DA67DB

Accessibility & contrast

On white

6.34
#A126A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A126A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126A2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126A2#FFFFFF#000000##FFFFFF
##A126A21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A63B63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a126a2;
/* rgb */ color: rgb(161, 38, 162);
/* oklch */ color: oklch(51.5% 0.207 327.7);
Tailwind
colors: {
  custom: {
    50: '#c16fbe',
    500: '#a126a2',
    950: '#000000',
  },
}
SCSS
$custom: #a126a2;
$custom-light: #c16fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a126a2",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 299.516,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.20714,
    "h": 327.7
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#A126A2
secondary
#63C163
accent
#E54344
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A126A2

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

Preview Lab → · Contrast checker → · Palette generator →

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