#A125A2#A125A2

#A125A2 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.208 H 327.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A125A2
RGBrgb(161, 37, 162)
HSLhsl(300, 63%, 39%)
HSVhsv(300, 77%, 64%)
CMYKcmyk(0.6%, 77.2%, 0%, 36.5%)
CIE-LABlab(40.43, 63.22, -40.03)
CIE-LCHlch(40.43, 74.83, 327.66°)
OKLaboklab(51.4% 0.176 -0.1111)
OKLCHoklch(51.4% 0.208 327.7)
XYZxyz(21.8808, 11.5104, 35.2447)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A125A2 #26A225
analogous
#6325A2 #A125A2 #A22565
triadic
#A125A2 #A2A125 #25A2A1
tetradic
#A125A2 #A26325 #26A225 #2565A2
square
#A125A2 #A26325 #26A225 #2565A2
split-complementary
#A125A2 #65A225 #25A263
monochromatic
#3E0E3E #6F1A70 #A125A2 #CF34D1 #DB65DC

Accessibility & contrast

On white

6.36
#A125A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A125A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A125A2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A125A2#FFFFFF#000000##FFFFFF
##A125A21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A63A63
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a125a2;
/* rgb */ color: rgb(161, 37, 162);
/* oklch */ color: oklch(51.4% 0.208 327.7);
Tailwind
colors: {
  custom: {
    50: '#c16fbe',
    500: '#a125a2',
    950: '#000000',
  },
}
SCSS
$custom: #a125a2;
$custom-light: #c16fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a125a2",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 299.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51403,
    "c": 0.2081,
    "h": 327.7
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

primary
#A125A2
secondary
#62C261
accent
#E64243
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A125A2

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

Preview Lab → · Contrast checker → · Palette generator →

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