#A226AF#A226AF

#A226AF is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.218 H 323.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A226AF
RGBrgb(162, 38, 175)
HSLhsl(294, 64%, 42%)
HSVhsv(294, 78%, 69%)
CMYKcmyk(7.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(41.48, 65.32, -46.11)
CIE-LCHlch(41.48, 79.96, 324.78°)
OKLaboklab(52.43% 0.1755 -0.1288)
OKLCHoklch(52.43% 0.218 323.7)
XYZxyz(23.3306, 12.1642, 41.6682)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226AF #33AF26
analogous
#5E26AF #A226AF #AF2677
triadic
#A226AF #AFA226 #26AFA2
tetradic
#A226AF #AF5E26 #33AF26 #2677AF
square
#A226AF #AF5E26 #33AF26 #2677AF
split-complementary
#A226AF #77AF26 #26AF5E
monochromatic
#45104A #731B7D #A226AF #C73DD5 #D570E0

Accessibility & contrast

On white

6.12
#A226AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A226AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226AF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226AF#FFFFFF#000000##FFFFFF
##A226AF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#4067AC
Tritanopia (blue-blind)
#A5416A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a226af;
/* rgb */ color: rgb(162, 38, 175);
/* oklch */ color: oklch(52.4% 0.218 323.7);
Tailwind
colors: {
  custom: {
    50: '#c270c7',
    500: '#a226af',
    950: '#000000',
  },
}
SCSS
$custom: #a226af;
$custom-light: #c270c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a226af",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 294.307,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.21768,
    "h": 323.7
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#A226AF
secondary
#73C76A
accent
#E74050
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A226AF

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

Preview Lab → · Contrast checker → · Palette generator →

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