#A226A2#A226A2

#A226A2 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.208 H 328.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A226A2
RGBrgb(162, 38, 162)
HSLhsl(300, 62%, 39%)
HSVhsv(300, 77%, 64%)
CMYKcmyk(0%, 76.5%, 0%, 36.5%)
CIE-LABlab(40.70, 63.13, -39.59)
CIE-LCHlch(40.70, 74.52, 327.91°)
OKLaboklab(51.63% 0.1762 -0.1098)
OKLCHoklch(51.63% 0.208 328.1)
XYZxyz(22.1147, 11.6779, 35.2647)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226A2 #26A226
analogous
#6426A2 #A226A2 #A22664
triadic
#A226A2 #A2A226 #26A2A2
tetradic
#A226A2 #A26426 #26A226 #2664A2
square
#A226A2 #A26426 #26A226 #2664A2
split-complementary
#A226A2 #64A226 #26A264
monochromatic
#3F0F3F #701A70 #A226A2 #D035D0 #DB67DB

Accessibility & contrast

On white

6.30
#A226A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A226A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226A2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226A2#FFFFFF#000000##FFFFFF
##A226A21.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#A73B63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a226a2;
/* rgb */ color: rgb(162, 38, 162);
/* oklch */ color: oklch(51.6% 0.208 328.1);
Tailwind
colors: {
  custom: {
    50: '#c16fbe',
    500: '#a226a2',
    950: '#000000',
  },
}
SCSS
$custom: #a226a2;
$custom-light: #c16fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a226a2",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.20761,
    "h": 328.1
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#A226A2
secondary
#63C163
accent
#E54343
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A226A2

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

Preview Lab → · Contrast checker → · Palette generator →

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