#A226A4#A226A4

#A226A4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.209 H 327.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A226A4
RGBrgb(162, 38, 164)
HSLhsl(299, 62%, 40%)
HSVhsv(299, 77%, 64%)
CMYKcmyk(1.2%, 76.8%, 0%, 35.7%)
CIE-LABlab(40.82, 63.46, -40.61)
CIE-LCHlch(40.82, 75.34, 327.39°)
OKLaboklab(51.75% 0.1762 -0.1127)
OKLCHoklch(51.75% 0.209 327.4)
XYZxyz(22.2939, 11.7496, 36.2084)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226A4 #28A426
analogous
#6326A4 #A226A4 #A42667
triadic
#A226A4 #A4A226 #26A4A2
tetradic
#A226A4 #A46326 #28A426 #2667A4
square
#A226A4 #A46326 #28A426 #2667A4
split-complementary
#A226A4 #67A426 #26A463
monochromatic
#400F41 #711A72 #A226A4 #CE37D1 #DA68DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A226A4#FFFFFF#000000##FFFFFF
##A226A41.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)
#0056A7
Deuteranopia (green-blind)
#4866A1
Tritanopia (blue-blind)
#A73C64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a226a4;
/* rgb */ color: rgb(162, 38, 164);
/* oklch */ color: oklch(51.7% 0.209 327.4);
Tailwind
colors: {
  custom: {
    50: '#c16fbf',
    500: '#a226a4',
    950: '#000000',
  },
}
SCSS
$custom: #a226a4;
$custom-light: #c16fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a226a4",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 299.048,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.20913,
    "h": 327.4
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#A226A4
secondary
#65C264
accent
#E54245
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A226A4

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

Preview Lab → · Contrast checker → · Palette generator →

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