#A225A2#A225A2

#A225A2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.209 H 328.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A225A2
RGBrgb(162, 37, 162)
HSLhsl(300, 63%, 39%)
HSVhsv(300, 77%, 64%)
CMYKcmyk(0%, 77.2%, 0%, 36.5%)
CIE-LABlab(40.60, 63.43, -39.75)
CIE-LCHlch(40.60, 74.86, 327.92°)
OKLaboklab(51.56% 0.177 -0.1102)
OKLCHoklch(51.56% 0.209 328.1)
XYZxyz(22.0832, 11.6148, 35.2542)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225A2 #25A225
analogous
#6425A2 #A225A2 #A22564
triadic
#A225A2 #A2A225 #25A2A2
tetradic
#A225A2 #A26425 #25A225 #2564A2
square
#A225A2 #A26425 #25A225 #2564A2
split-complementary
#A225A2 #64A225 #25A264
monochromatic
#3E0E3E #701A70 #A225A2 #D134D1 #DC65DC

Accessibility & contrast

On white

6.32
#A225A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A225A2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225A2#FFFFFF#000000##FFFFFF
##A225A21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#A73A63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a225a2;
/* rgb */ color: rgb(162, 37, 162);
/* oklch */ color: oklch(51.6% 0.209 328.1);
Tailwind
colors: {
  custom: {
    50: '#c16fbe',
    500: '#a225a2',
    950: '#000000',
  },
}
SCSS
$custom: #a225a2;
$custom-light: #c16fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a225a2",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51556,
    "c": 0.20856,
    "h": 328.1
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#A225A2
secondary
#61C261
accent
#E64242
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A225A2

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

Preview Lab → · Contrast checker → · Palette generator →

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