#A225AC#A225AC

#A225AC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.216 H 324.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A225AC
RGBrgb(162, 37, 172)
HSLhsl(296, 65%, 41%)
HSVhsv(296, 78%, 67%)
CMYKcmyk(5.8%, 78.5%, 0%, 32.5%)
CIE-LABlab(41.19, 65.10, -44.78)
CIE-LCHlch(41.19, 79.01, 325.48°)
OKLaboklab(52.17% 0.1765 -0.1249)
OKLCHoklch(52.17% 0.216 324.7)
XYZxyz(23.0077, 11.9846, 40.1231)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225AC #2FAC25
analogous
#5F25AC #A225AC #AC2572
triadic
#A225AC #ACA225 #25ACA2
tetradic
#A225AC #AC5F25 #2FAC25 #2572AC
square
#A225AC #AC5F25 #2FAC25 #2572AC
split-complementary
#A225AC #72AC25 #25AC5F
monochromatic
#430F47 #731A7A #A225AC #C93AD5 #D76CDF

Accessibility & contrast

On white

6.18
#A225AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A225AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A225AC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225AC#FFFFFF#000000##FFFFFF
##A225AC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#A53F69
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a225ac;
/* rgb */ color: rgb(162, 37, 172);
/* oklch */ color: oklch(52.2% 0.216 324.7);
Tailwind
colors: {
  custom: {
    50: '#c26fc5',
    500: '#a225ac',
    950: '#000000',
  },
}
SCSS
$custom: #a225ac;
$custom-light: #c26fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a225ac",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 295.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.21625,
    "h": 324.7
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#A225AC
secondary
#6EC667
accent
#E8404D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A225AC

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

Preview Lab → · Contrast checker → · Palette generator →

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