#A226B0#A226B0

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

Color values

HEX#A226B0
RGBrgb(162, 38, 176)
HSLhsl(294, 64%, 42%)
HSVhsv(294, 78%, 69%)
CMYKcmyk(8%, 78.4%, 0%, 31%)
CIE-LABlab(41.54, 65.50, -46.60)
CIE-LCHlch(41.54, 80.38, 324.57°)
OKLaboklab(52.49% 0.1754 -0.1302)
OKLCHoklch(52.49% 0.218 323.4)
XYZxyz(23.4292, 12.2037, 42.1874)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226B0 #34B026
analogous
#5D26B0 #A226B0 #B02679
triadic
#A226B0 #B0A226 #26B0A2
tetradic
#A226B0 #B05D26 #34B026 #2679B0
square
#A226B0 #B05D26 #34B026 #2679B0
split-complementary
#A226B0 #79B026 #26B05D
monochromatic
#45104B #741B7E #A226B0 #C63ED5 #D570E0

Accessibility & contrast

On white

6.10
#A226B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A226B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226B0
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226B0#FFFFFF#000000##FFFFFF
##A226B01.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3F67AD
Tritanopia (blue-blind)
#A5426B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a226b0;
/* rgb */ color: rgb(162, 38, 176);
/* oklch */ color: oklch(52.5% 0.218 323.4);
Tailwind
colors: {
  custom: {
    50: '#c270c8',
    500: '#a226b0',
    950: '#000000',
  },
}
SCSS
$custom: #a226b0;
$custom-light: #c270c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a226b0",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 293.913,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.21847,
    "h": 323.4
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#A226B0
secondary
#74C76B
accent
#E74051
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A226B0

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

Preview Lab → · Contrast checker → · Palette generator →

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