#A226AE#A226AE

#A226AE is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.217 H 324.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A226AE
RGBrgb(162, 38, 174)
HSLhsl(295, 64%, 42%)
HSVhsv(295, 78%, 68%)
CMYKcmyk(6.9%, 78.2%, 0%, 31.8%)
CIE-LABlab(41.41, 65.15, -45.61)
CIE-LCHlch(41.41, 79.53, 325.00°)
OKLaboklab(52.37% 0.1756 -0.1273)
OKLCHoklch(52.37% 0.217 324.1)
XYZxyz(23.2327, 12.1251, 41.1529)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226AE #32AE26
analogous
#5E26AE #A226AE #AE2676
triadic
#A226AE #AEA226 #26AEA2
tetradic
#A226AE #AE5E26 #32AE26 #2676AE
square
#A226AE #AE5E26 #32AE26 #2676AE
split-complementary
#A226AE #76AE26 #26AE5E
monochromatic
#44104A #731B7C #A226AE #C73DD5 #D66FE0

Accessibility & contrast

On white

6.13
#A226AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A226AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226AE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226AE#FFFFFF#000000##FFFFFF
##A226AE1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#A5416A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a226ae;
/* rgb */ color: rgb(162, 38, 174);
/* oklch */ color: oklch(52.4% 0.217 324.1);
Tailwind
colors: {
  custom: {
    50: '#c270c7',
    500: '#a226ae',
    950: '#000000',
  },
}
SCSS
$custom: #a226ae;
$custom-light: #c270c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a226ae",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 294.706,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.2169,
    "h": 324.1
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#A226AE
secondary
#72C66A
accent
#E7414F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A226AE

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

Preview Lab → · Contrast checker → · Palette generator →

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