#A225A8#A225A8

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

Color values

HEX#A225A8
RGBrgb(162, 37, 168)
HSLhsl(297, 64%, 40%)
HSVhsv(297, 78%, 66%)
CMYKcmyk(3.6%, 78%, 0%, 34.1%)
CIE-LABlab(40.95, 64.42, -42.78)
CIE-LCHlch(40.95, 77.33, 326.41°)
OKLaboklab(51.92% 0.1768 -0.1191)
OKLCHoklch(51.92% 0.213 326)
XYZxyz(22.6293, 11.8332, 38.1303)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225A8 #2BA825
analogous
#6125A8 #A225A8 #A8256C
triadic
#A225A8 #A8A225 #25A8A2
tetradic
#A225A8 #A86125 #2BA825 #256CA8
square
#A225A8 #A86125 #2BA825 #256CA8
split-complementary
#A225A8 #6CA825 #25A861
monochromatic
#410F44 #721A76 #A225A8 #CC37D3 #D969DE

Accessibility & contrast

On white

6.24
#A225A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A225A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A225A8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225A8#FFFFFF#000000##FFFFFF
##A225A81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#A63D66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a225a8;
/* rgb */ color: rgb(162, 37, 168);
/* oklch */ color: oklch(51.9% 0.213 326.0);
Tailwind
colors: {
  custom: {
    50: '#c16fc2',
    500: '#a225a8',
    950: '#000000',
  },
}
SCSS
$custom: #a225a8;
$custom-light: #c16fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a225a8",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 297.252,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.21315,
    "h": 326
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#A225A8
secondary
#69C465
accent
#E74148
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A225A8

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

Preview Lab → · Contrast checker → · Palette generator →

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