#A125A6#A125A6

#A125A6 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.211 H 326.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A125A6
RGBrgb(161, 37, 166)
HSLhsl(298, 64%, 40%)
HSVhsv(298, 78%, 65%)
CMYKcmyk(3%, 77.7%, 0%, 34.9%)
CIE-LABlab(40.66, 63.88, -42.06)
CIE-LCHlch(40.66, 76.48, 326.64°)
OKLaboklab(51.65% 0.1758 -0.117)
OKLCHoklch(51.65% 0.211 326.4)
XYZxyz(22.2420, 11.6549, 37.1471)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A125A6 #2AA625
analogous
#6025A6 #A125A6 #A6256B
triadic
#A125A6 #A6A125 #25A6A1
tetradic
#A125A6 #A66025 #2AA625 #256BA6
square
#A125A6 #A66025 #2AA625 #256BA6
split-complementary
#A125A6 #6BA625 #25A660
monochromatic
#400F42 #701A74 #A125A6 #CC36D2 #D968DD

Accessibility & contrast

On white

6.31
#A125A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A125A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A125A6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A125A6#FFFFFF#000000##FFFFFF
##A125A61.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#A53C65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a125a6;
/* rgb */ color: rgb(161, 37, 166);
/* oklch */ color: oklch(51.6% 0.211 326.4);
Tailwind
colors: {
  custom: {
    50: '#c16fc1',
    500: '#a125a6',
    950: '#000000',
  },
}
SCSS
$custom: #a125a6;
$custom-light: #c16fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a125a6",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 297.674,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.21117,
    "h": 326.4
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#A125A6
secondary
#67C364
accent
#E74148
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A125A6

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

Preview Lab → · Contrast checker → · Palette generator →

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