#A226A9#A226A9

#A226A9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.213 H 325.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A226A9
RGBrgb(162, 38, 169)
HSLhsl(297, 63%, 41%)
HSVhsv(297, 78%, 66%)
CMYKcmyk(4.1%, 77.5%, 0%, 33.7%)
CIE-LABlab(41.11, 64.30, -43.12)
CIE-LCHlch(41.11, 77.42, 326.15°)
OKLaboklab(52.05% 0.1759 -0.1201)
OKLCHoklch(52.05% 0.213 325.7)
XYZxyz(22.7543, 11.9337, 38.6334)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226A9 #2DA926
analogous
#6026A9 #A226A9 #A9266E
triadic
#A226A9 #A9A226 #26A9A2
tetradic
#A226A9 #A96026 #2DA926 #266EA9
square
#A226A9 #A96026 #2DA926 #266EA9
split-complementary
#A226A9 #6EA926 #26A960
monochromatic
#421045 #721B77 #A226A9 #CA3AD3 #D86CDE

Accessibility & contrast

On white

6.20
#A226A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A226A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226A9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226A9#FFFFFF#000000##FFFFFF
##A226A91.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#A63E67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a226a9;
/* rgb */ color: rgb(162, 38, 169);
/* oklch */ color: oklch(52.1% 0.213 325.7);
Tailwind
colors: {
  custom: {
    50: '#c16fc3',
    500: '#a226a9',
    950: '#000000',
  },
}
SCSS
$custom: #a226a9;
$custom-light: #c16fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a226a9",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 296.794,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.213,
    "h": 325.7
  },
  "luminance": 0.11932
}

Semantic roles & 50–950 ramp

primary
#A226A9
secondary
#6CC467
accent
#E6414A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A226A9

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

Preview Lab → · Contrast checker → · Palette generator →

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