#A225A4#A225A4

#A225A4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.210 H 327.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A225A4
RGBrgb(162, 37, 164)
HSLhsl(299, 63%, 39%)
HSVhsv(299, 77%, 64%)
CMYKcmyk(1.2%, 77.4%, 0%, 35.7%)
CIE-LABlab(40.71, 63.76, -40.77)
CIE-LCHlch(40.71, 75.68, 327.40°)
OKLaboklab(51.68% 0.177 -0.1132)
OKLCHoklch(51.68% 0.21 327.4)
XYZxyz(22.2624, 11.6865, 36.1979)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225A4 #27A425
analogous
#6325A4 #A225A4 #A42567
triadic
#A225A4 #A4A225 #25A4A2
tetradic
#A225A4 #A46325 #27A425 #2567A4
square
#A225A4 #A46325 #27A425 #2567A4
split-complementary
#A225A4 #67A425 #25A463
monochromatic
#3F0E40 #711A72 #A225A4 #CF35D1 #DB67DD

Accessibility & contrast

On white

6.29
#A225A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A225A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A225A4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225A4#FFFFFF#000000##FFFFFF
##A225A41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4865A1
Tritanopia (blue-blind)
#A73B64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a225a4;
/* rgb */ color: rgb(162, 37, 164);
/* oklch */ color: oklch(51.7% 0.210 327.4);
Tailwind
colors: {
  custom: {
    50: '#c16fbf',
    500: '#a225a4',
    950: '#000000',
  },
}
SCSS
$custom: #a225a4;
$custom-light: #c16fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a225a4",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 299.055,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.21009,
    "h": 327.4
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#A225A4
secondary
#64C262
accent
#E64244
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A225A4

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

Preview Lab → · Contrast checker → · Palette generator →

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