#A126A0#A126A0

#A126A0 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.206 H 328.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A126A0
RGBrgb(161, 38, 160)
HSLhsl(300, 62%, 39%)
HSVhsv(300, 76%, 63%)
CMYKcmyk(0%, 76.4%, 0.6%, 36.9%)
CIE-LABlab(40.42, 62.59, -38.85)
CIE-LCHlch(40.42, 73.67, 328.17°)
OKLaboklab(51.36% 0.1752 -0.1077)
OKLCHoklch(51.36% 0.206 328.4)
XYZxyz(21.7360, 11.5030, 34.3264)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126A0 #26A127
analogous
#6526A1 #A126A0 #A12663
triadic
#A126A0 #A0A126 #26A0A1
tetradic
#A126A0 #A16526 #26A127 #2663A1
square
#A126A0 #A16526 #26A127 #2663A1
split-complementary
#A126A0 #63A126 #26A165
monochromatic
#3E0F3E #6F1A6F #A126A0 #CF35CE #DB66DA

Accessibility & contrast

On white

6.36
#A126A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A126A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126A0
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126A0#FFFFFF#000000##FFFFFF
##A126A01.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0955A3
Deuteranopia (green-blind)
#49659D
Tritanopia (blue-blind)
#A63A62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a126a0;
/* rgb */ color: rgb(161, 38, 160);
/* oklch */ color: oklch(51.4% 0.206 328.4);
Tailwind
colors: {
  custom: {
    50: '#c16fbc',
    500: '#a126a0',
    950: '#000000',
  },
}
SCSS
$custom: #a126a0;
$custom-light: #c16fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a126a0",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 300.488,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51357,
    "c": 0.20562,
    "h": 328.4
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#A126A0
secondary
#62C163
accent
#E54443
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A126A0

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

Preview Lab → · Contrast checker → · Palette generator →

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