#A225A9#A225A9

#A225A9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.214 H 325.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A225A9
RGBrgb(162, 37, 169)
HSLhsl(297, 64%, 40%)
HSVhsv(297, 78%, 66%)
CMYKcmyk(4.1%, 78.1%, 0%, 33.7%)
CIE-LABlab(41.01, 64.59, -43.28)
CIE-LCHlch(41.01, 77.75, 326.17°)
OKLaboklab(51.98% 0.1767 -0.1205)
OKLCHoklch(51.98% 0.214 325.7)
XYZxyz(22.7228, 11.8706, 38.6229)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225A9 #2CA925
analogous
#6025A9 #A225A9 #A9256E
triadic
#A225A9 #A9A225 #25A9A2
tetradic
#A225A9 #A96025 #2CA925 #256EA9
square
#A225A9 #A96025 #2CA925 #256EA9
split-complementary
#A225A9 #6EA925 #25A960
monochromatic
#420F45 #721A77 #A225A9 #CB38D3 #D86ADE

Accessibility & contrast

On white

6.22
#A225A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A225A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A225A9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225A9#FFFFFF#000000##FFFFFF
##A225A91.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A63E67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a225a9;
/* rgb */ color: rgb(162, 37, 169);
/* oklch */ color: oklch(52.0% 0.214 325.7);
Tailwind
colors: {
  custom: {
    50: '#c16fc3',
    500: '#a225a9',
    950: '#000000',
  },
}
SCSS
$custom: #a225a9;
$custom-light: #c16fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a225a9",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 296.818,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.21393,
    "h": 325.7
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A225A9

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

Preview Lab → · Contrast checker → · Palette generator →

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