#A226A1#A226A1

#A226A1 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.207 H 328.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A226A1
RGBrgb(162, 38, 161)
HSLhsl(300, 62%, 39%)
HSVhsv(300, 77%, 64%)
CMYKcmyk(0%, 76.5%, 0.6%, 36.5%)
CIE-LABlab(40.64, 62.97, -39.08)
CIE-LCHlch(40.64, 74.11, 328.17°)
OKLaboklab(51.57% 0.1762 -0.1083)
OKLCHoklch(51.57% 0.207 328.4)
XYZxyz(22.0262, 11.6425, 34.7984)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226A1 #26A227
analogous
#6526A2 #A226A1 #A22663
triadic
#A226A1 #A1A226 #26A1A2
tetradic
#A226A1 #A26526 #26A227 #2663A2
square
#A226A1 #A26526 #26A227 #2663A2
split-complementary
#A226A1 #63A226 #26A265
monochromatic
#3F0F3E #701A70 #A226A1 #D035CE #DB67DA

Accessibility & contrast

On white

6.31
#A226A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A226A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226A1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226A1#FFFFFF#000000##FFFFFF
##A226A11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A4
Deuteranopia (green-blind)
#4A659E
Tritanopia (blue-blind)
#A73A62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a226a1;
/* rgb */ color: rgb(162, 38, 161);
/* oklch */ color: oklch(51.6% 0.207 328.4);
Tailwind
colors: {
  custom: {
    50: '#c16fbd',
    500: '#a226a1',
    950: '#000000',
  },
}
SCSS
$custom: #a226a1;
$custom-light: #c16fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a226a1",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 300.484,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.20685,
    "h": 328.4
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#A226A1
secondary
#63C163
accent
#E54443
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A226A1

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

Preview Lab → · Contrast checker → · Palette generator →

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