#A125A9#A125A9

#A125A9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.213 H 325.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A125A9
RGBrgb(161, 37, 169)
HSLhsl(296, 64%, 40%)
HSVhsv(296, 78%, 66%)
CMYKcmyk(4.7%, 78.1%, 0%, 33.7%)
CIE-LABlab(40.84, 64.39, -43.56)
CIE-LCHlch(40.84, 77.74, 325.92°)
OKLaboklab(51.83% 0.1756 -0.1214)
OKLCHoklch(51.83% 0.213 325.4)
XYZxyz(22.5204, 11.7663, 38.6134)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A125A9 #2DA925
analogous
#5F25A9 #A125A9 #A9256F
triadic
#A125A9 #A9A125 #25A9A1
tetradic
#A125A9 #A95F25 #2DA925 #256FA9
square
#A125A9 #A95F25 #2DA925 #256FA9
split-complementary
#A125A9 #6FA925 #25A95F
monochromatic
#410F45 #711A77 #A125A9 #CA38D3 #D76ADE

Accessibility & contrast

On white

6.26
#A125A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A125A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A125A9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A125A9#FFFFFF#000000##FFFFFF
##A125A91.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#A53E67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a125a9;
/* rgb */ color: rgb(161, 37, 169);
/* oklch */ color: oklch(51.8% 0.213 325.4);
Tailwind
colors: {
  custom: {
    50: '#c16fc3',
    500: '#a125a9',
    950: '#000000',
  },
}
SCSS
$custom: #a125a9;
$custom-light: #c16fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a125a9",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 296.364,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.21349,
    "h": 325.4
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#A125A9
secondary
#6BC465
accent
#E7414B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A125A9

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

Preview Lab → · Contrast checker → · Palette generator →

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