#A226A0#A226A0

#A226A0 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.206 H 328.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A226A0
RGBrgb(162, 38, 160)
HSLhsl(301, 62%, 39%)
HSVhsv(301, 77%, 64%)
CMYKcmyk(0%, 76.5%, 1.2%, 36.5%)
CIE-LABlab(40.59, 62.81, -38.57)
CIE-LCHlch(40.59, 73.71, 328.44°)
OKLaboklab(51.51% 0.1763 -0.1068)
OKLCHoklch(51.51% 0.206 328.8)
XYZxyz(21.9384, 11.6073, 34.3359)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226A0 #26A228
analogous
#6626A2 #A226A0 #A22662
triadic
#A226A0 #A0A226 #26A0A2
tetradic
#A226A0 #A26626 #26A228 #2662A2
square
#A226A0 #A26626 #26A228 #2662A2
split-complementary
#A226A0 #62A226 #26A266
monochromatic
#3F0F3E #701A6F #A226A0 #D035CD #DB67D9

Accessibility & contrast

On white

6.32
#A226A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A226A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226A0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226A0#FFFFFF#000000##FFFFFF
##A226A01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B55A3
Deuteranopia (green-blind)
#4A659D
Tritanopia (blue-blind)
#A83962
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a226a0;
/* rgb */ color: rgb(162, 38, 160);
/* oklch */ color: oklch(51.5% 0.206 328.8);
Tailwind
colors: {
  custom: {
    50: '#c16fbc',
    500: '#a226a0',
    950: '#000000',
  },
}
SCSS
$custom: #a226a0;
$custom-light: #c16fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a226a0",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 300.968,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.20609,
    "h": 328.8
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#A226A0
secondary
#63C164
accent
#E54543
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A226A0

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

Preview Lab → · Contrast checker → · Palette generator →

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