#A226A3#A226A3

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

Color values

HEX#A226A3
RGBrgb(162, 38, 163)
HSLhsl(300, 62%, 39%)
HSVhsv(300, 77%, 64%)
CMYKcmyk(0.6%, 76.7%, 0%, 36.1%)
CIE-LABlab(40.76, 63.30, -40.10)
CIE-LCHlch(40.76, 74.93, 327.65°)
OKLaboklab(51.69% 0.1762 -0.1112)
OKLCHoklch(51.69% 0.208 327.7)
XYZxyz(22.2040, 11.7136, 35.7347)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226A3 #27A326
analogous
#6426A3 #A226A3 #A32666
triadic
#A226A3 #A3A226 #26A3A2
tetradic
#A226A3 #A36426 #27A326 #2666A3
square
#A226A3 #A36426 #27A326 #2666A3
split-complementary
#A226A3 #66A326 #26A364
monochromatic
#3F0F40 #711A71 #A226A3 #CF36D0 #DB68DC

Accessibility & contrast

On white

6.28
#A226A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A226A3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226A3#FFFFFF#000000##FFFFFF
##A226A31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0156A6
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#A73B64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a226a3;
/* rgb */ color: rgb(162, 38, 163);
/* oklch */ color: oklch(51.7% 0.208 327.7);
Tailwind
colors: {
  custom: {
    50: '#c16fbf',
    500: '#a226a3',
    950: '#000000',
  },
}
SCSS
$custom: #a226a3;
$custom-light: #c16fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a226a3",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 299.52,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.20836,
    "h": 327.7
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

primary
#A226A3
secondary
#64C263
accent
#E54344
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A226A3

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

Preview Lab → · Contrast checker → · Palette generator →

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