#A126AF#A126AF

#A126AF is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.217 H 323.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A126AF
RGBrgb(161, 38, 175)
HSLhsl(294, 64%, 42%)
HSVhsv(294, 78%, 69%)
CMYKcmyk(8%, 78.3%, 0%, 31.4%)
CIE-LABlab(41.31, 65.12, -46.38)
CIE-LCHlch(41.31, 79.95, 324.54°)
OKLaboklab(52.28% 0.1744 -0.1296)
OKLCHoklch(52.28% 0.217 323.4)
XYZxyz(23.1282, 12.0599, 41.6587)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126AF #34AF26
analogous
#5D26AF #A126AF #AF2678
triadic
#A126AF #AFA126 #26AFA1
tetradic
#A126AF #AF5D26 #34AF26 #2678AF
square
#A126AF #AF5D26 #34AF26 #2678AF
split-complementary
#A126AF #78AF26 #26AF5D
monochromatic
#44104A #731B7D #A126AF #C53DD5 #D470E0

Accessibility & contrast

On white

6.16
#A126AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A126AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126AF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126AF#FFFFFF#000000##FFFFFF
##A126AF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3F66AC
Tritanopia (blue-blind)
#A4416A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a126af;
/* rgb */ color: rgb(161, 38, 175);
/* oklch */ color: oklch(52.3% 0.217 323.4);
Tailwind
colors: {
  custom: {
    50: '#c16fc7',
    500: '#a126af',
    950: '#000000',
  },
}
SCSS
$custom: #a126af;
$custom-light: #c16fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a126af",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 293.869,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.21727,
    "h": 323.4
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#A126AF
secondary
#74C76A
accent
#E74052
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A126AF

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

Preview Lab → · Contrast checker → · Palette generator →

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