#A125A7#A125A7

#A125A7 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.212 H 326.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A125A7
RGBrgb(161, 37, 167)
HSLhsl(297, 64%, 40%)
HSVhsv(297, 78%, 65%)
CMYKcmyk(3.6%, 77.8%, 0%, 34.5%)
CIE-LABlab(40.72, 64.05, -42.56)
CIE-LCHlch(40.72, 76.90, 326.40°)
OKLaboklab(51.71% 0.1758 -0.1184)
OKLCHoklch(51.71% 0.212 326)
XYZxyz(22.3341, 11.6918, 37.6321)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A125A7 #2BA725
analogous
#6025A7 #A125A7 #A7256C
triadic
#A125A7 #A7A125 #25A7A1
tetradic
#A125A7 #A76025 #2BA725 #256CA7
square
#A125A7 #A76025 #2BA725 #256CA7
split-complementary
#A125A7 #6CA725 #25A760
monochromatic
#400F43 #711A75 #A125A7 #CB37D3 #D869DE

Accessibility & contrast

On white

6.29
#A125A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A125A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A125A7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A125A7#FFFFFF#000000##FFFFFF
##A125A71.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4565A4
Tritanopia (blue-blind)
#A53D66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a125a7;
/* rgb */ color: rgb(161, 37, 167);
/* oklch */ color: oklch(51.7% 0.212 326.0);
Tailwind
colors: {
  custom: {
    50: '#c16fc2',
    500: '#a125a7',
    950: '#000000',
  },
}
SCSS
$custom: #a125a7;
$custom-light: #c16fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a125a7",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 297.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.21193,
    "h": 326
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#A125A7
secondary
#69C464
accent
#E74149
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A125A7

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

Preview Lab → · Contrast checker → · Palette generator →

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