#A225A6#A225A6

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

Color values

HEX#A225A6
RGBrgb(162, 37, 166)
HSLhsl(298, 64%, 40%)
HSVhsv(298, 78%, 65%)
CMYKcmyk(2.4%, 77.7%, 0%, 34.9%)
CIE-LABlab(40.83, 64.09, -41.78)
CIE-LCHlch(40.83, 76.50, 326.90°)
OKLaboklab(51.8% 0.1769 -0.1161)
OKLCHoklch(51.8% 0.212 326.7)
XYZxyz(22.4444, 11.7593, 37.1566)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225A6 #29A625
analogous
#6225A6 #A225A6 #A62569
triadic
#A225A6 #A6A225 #25A6A2
tetradic
#A225A6 #A66225 #29A625 #2569A6
square
#A225A6 #A66225 #29A625 #2569A6
split-complementary
#A225A6 #69A625 #25A662
monochromatic
#400F42 #711A74 #A225A6 #CD36D2 #DA68DD

Accessibility & contrast

On white

6.27
#A225A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A225A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A225A6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225A6#FFFFFF#000000##FFFFFF
##A225A61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4666A3
Tritanopia (blue-blind)
#A73C65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a225a6;
/* rgb */ color: rgb(162, 37, 166);
/* oklch */ color: oklch(51.8% 0.212 326.7);
Tailwind
colors: {
  custom: {
    50: '#c16fc1',
    500: '#a225a6',
    950: '#000000',
  },
}
SCSS
$custom: #a225a6;
$custom-light: #c16fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a225a6",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 298.14,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.21162,
    "h": 326.7
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#A225A6
secondary
#67C364
accent
#E74146
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A225A6

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

Preview Lab → · Contrast checker → · Palette generator →

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