#A226B1#A226B1

#A226B1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.219 H 323.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A226B1
RGBrgb(162, 38, 177)
HSLhsl(294, 65%, 42%)
HSVhsv(294, 79%, 69%)
CMYKcmyk(8.5%, 78.5%, 0%, 30.6%)
CIE-LABlab(41.60, 65.67, -47.09)
CIE-LCHlch(41.60, 80.81, 324.35°)
OKLaboklab(52.56% 0.1753 -0.1317)
OKLCHoklch(52.56% 0.219 323.1)
XYZxyz(23.5285, 12.2434, 42.7104)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226B1 #35B126
analogous
#5C26B1 #A226B1 #B1267B
triadic
#A226B1 #B1A226 #26B1A2
tetradic
#A226B1 #B15C26 #35B126 #267BB1
square
#A226B1 #B15C26 #35B126 #267BB1
split-complementary
#A226B1 #7BB126 #26B15C
monochromatic
#46104C #741B7F #A226B1 #C53FD6 #D471E0

Accessibility & contrast

On white

6.09
#A226B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A226B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226B1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226B1#FFFFFF#000000##FFFFFF
##A226B11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#A4426C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a226b1;
/* rgb */ color: rgb(162, 38, 177);
/* oklch */ color: oklch(52.6% 0.219 323.1);
Tailwind
colors: {
  custom: {
    50: '#c270c9',
    500: '#a226b1',
    950: '#000000',
  },
}
SCSS
$custom: #a226b1;
$custom-light: #c270c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a226b1",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 293.525,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52558,
    "c": 0.21926,
    "h": 323.1
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#A226B1
secondary
#75C76B
accent
#E84052
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A226B1

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

Preview Lab → · Contrast checker → · Palette generator →

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