#A225A1#A225A1

#A225A1 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.208 H 328.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A225A1
RGBrgb(162, 37, 161)
HSLhsl(300, 63%, 39%)
HSVhsv(300, 77%, 64%)
CMYKcmyk(0%, 77.2%, 0.6%, 36.5%)
CIE-LABlab(40.54, 63.26, -39.24)
CIE-LCHlch(40.54, 74.45, 328.19°)
OKLaboklab(51.5% 0.1771 -0.1088)
OKLCHoklch(51.5% 0.208 328.4)
XYZxyz(21.9946, 11.5794, 34.7879)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225A1 #25A226
analogous
#6525A2 #A225A1 #A22563
triadic
#A225A1 #A1A225 #25A1A2
tetradic
#A225A1 #A26525 #25A226 #2563A2
square
#A225A1 #A26525 #25A226 #2563A2
split-complementary
#A225A1 #63A225 #25A265
monochromatic
#3E0E3E #701A6F #A225A1 #D134CF #DC65DB

Accessibility & contrast

On white

6.33
#A225A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A225A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A225A1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225A1#FFFFFF#000000##FFFFFF
##A225A11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0555A4
Deuteranopia (green-blind)
#49659E
Tritanopia (blue-blind)
#A73962
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a225a1;
/* rgb */ color: rgb(162, 37, 161);
/* oklch */ color: oklch(51.5% 0.208 328.4);
Tailwind
colors: {
  custom: {
    50: '#c16fbd',
    500: '#a225a1',
    950: '#000000',
  },
}
SCSS
$custom: #a225a1;
$custom-light: #c16fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a225a1",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 300.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.2078,
    "h": 328.4
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#A225A1
secondary
#61C262
accent
#E64342
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A225A1

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

Preview Lab → · Contrast checker → · Palette generator →

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