#A224B1#A224B1

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

Color values

HEX#A224B1
RGBrgb(162, 36, 177)
HSLhsl(294, 66%, 42%)
HSVhsv(294, 80%, 69%)
CMYKcmyk(8.5%, 79.7%, 0%, 30.6%)
CIE-LABlab(41.40, 66.24, -47.41)
CIE-LCHlch(41.40, 81.45, 324.41°)
OKLaboklab(52.42% 0.1769 -0.1326)
OKLCHoklch(52.42% 0.221 323.1)
XYZxyz(23.4662, 12.1189, 42.6896)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A224B1 #33B124
analogous
#5C24B1 #A224B1 #B1247A
triadic
#A224B1 #B1A224 #24B1A2
tetradic
#A224B1 #B15C24 #33B124 #247AB1
square
#A224B1 #B15C24 #33B124 #247AB1
split-complementary
#A224B1 #7AB124 #24B15C
monochromatic
#450F4B #731A7E #A224B1 #C73BD7 #D56EE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A224B1#FFFFFF#000000##FFFFFF
##A224B11.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)
#0059B5
Deuteranopia (green-blind)
#3E66AE
Tritanopia (blue-blind)
#A4416B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a224b1;
/* rgb */ color: rgb(162, 36, 177);
/* oklch */ color: oklch(52.4% 0.221 323.1);
Tailwind
colors: {
  custom: {
    50: '#c26fc9',
    500: '#a224b1',
    950: '#000000',
  },
}
SCSS
$custom: #a224b1;
$custom-light: #c26fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a224b1",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 293.617,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.22104,
    "h": 323.1
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#A224B1
secondary
#73C869
accent
#E93F51
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A224B1

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

Preview Lab → · Contrast checker → · Palette generator →

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