#A225A7#A225A7

#A225A7 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.212 H 326.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A225A7
RGBrgb(162, 37, 167)
HSLhsl(298, 64%, 40%)
HSVhsv(298, 78%, 65%)
CMYKcmyk(3%, 77.8%, 0%, 34.5%)
CIE-LABlab(40.89, 64.25, -42.28)
CIE-LCHlch(40.89, 76.92, 326.65°)
OKLaboklab(51.86% 0.1769 -0.1176)
OKLCHoklch(51.86% 0.212 326.4)
XYZxyz(22.5365, 11.7961, 37.6416)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225A7 #2AA725
analogous
#6125A7 #A225A7 #A7256B
triadic
#A225A7 #A7A225 #25A7A2
tetradic
#A225A7 #A76125 #2AA725 #256BA7
square
#A225A7 #A76125 #2AA725 #256BA7
split-complementary
#A225A7 #6BA725 #25A761
monochromatic
#410F43 #711A75 #A225A7 #CD37D3 #D969DE

Accessibility & contrast

On white

6.25
#A225A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A225A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A225A7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225A7#FFFFFF#000000##FFFFFF
##A225A71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4666A4
Tritanopia (blue-blind)
#A63D66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a225a7;
/* rgb */ color: rgb(162, 37, 167);
/* oklch */ color: oklch(51.9% 0.212 326.4);
Tailwind
colors: {
  custom: {
    50: '#c16fc2',
    500: '#a225a7',
    950: '#000000',
  },
}
SCSS
$custom: #a225a7;
$custom-light: #c16fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a225a7",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 297.692,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.21238,
    "h": 326.4
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#A225A7
secondary
#68C464
accent
#E74147
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A225A7

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

Preview Lab → · Contrast checker → · Palette generator →

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