#A125A8#A125A8

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

Color values

HEX#A125A8
RGBrgb(161, 37, 168)
HSLhsl(297, 64%, 40%)
HSVhsv(297, 78%, 66%)
CMYKcmyk(4.2%, 78%, 0%, 34.1%)
CIE-LABlab(40.78, 64.22, -43.06)
CIE-LCHlch(40.78, 77.32, 326.16°)
OKLaboklab(51.77% 0.1757 -0.1199)
OKLCHoklch(51.77% 0.213 325.7)
XYZxyz(22.4269, 11.7289, 38.1209)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A125A8 #2CA825
analogous
#6025A8 #A125A8 #A8256D
triadic
#A125A8 #A8A125 #25A8A1
tetradic
#A125A8 #A86025 #2CA825 #256DA8
square
#A125A8 #A86025 #2CA825 #256DA8
split-complementary
#A125A8 #6DA825 #25A860
monochromatic
#410F44 #711A76 #A125A8 #CB37D3 #D869DE

Accessibility & contrast

On white

6.28
#A125A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A125A8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A125A8#FFFFFF#000000##FFFFFF
##A125A81.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#A53D66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a125a8;
/* rgb */ color: rgb(161, 37, 168);
/* oklch */ color: oklch(51.8% 0.213 325.7);
Tailwind
colors: {
  custom: {
    50: '#c16fc2',
    500: '#a125a8',
    950: '#000000',
  },
}
SCSS
$custom: #a125a8;
$custom-light: #c16fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a125a8",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 296.794,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.21272,
    "h": 325.7
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#A125A8
secondary
#6AC465
accent
#E7414A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A125A8

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

Preview Lab → · Contrast checker → · Palette generator →

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