#A222BD#A222BD

#A222BD is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.1% C 0.232 H 319.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A222BD
RGBrgb(162, 34, 189)
HSLhsl(290, 70%, 44%)
HSVhsv(290, 82%, 74%)
CMYKcmyk(14.3%, 82%, 0%, 25.9%)
CIE-LABlab(42.00, 68.88, -53.52)
CIE-LCHlch(42.00, 87.23, 322.15°)
OKLaboklab(53.09% 0.1767 -0.1505)
OKLCHoklch(53.09% 0.232 319.6)
XYZxyz(24.6564, 12.5008, 49.2484)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A222BD #3DBD22
analogous
#5422BD #A222BD #BD228A
triadic
#A222BD #BDA222 #22BDA2
tetradic
#A222BD #BD5422 #3DBD22 #228ABD
square
#A222BD #BD5422 #3DBD22 #228ABD
split-complementary
#A222BD #8ABD22 #22BD54
monochromatic
#490F55 #761989 #A222BD #C140DD #D273E6

Accessibility & contrast

On white

6.00
#A222BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A222BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A222BD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A222BD#FFFFFF#000000##FFFFFF
##A222BD1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#A24672
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a222bd;
/* rgb */ color: rgb(162, 34, 189);
/* oklch */ color: oklch(53.1% 0.232 319.6);
Tailwind
colors: {
  custom: {
    50: '#c26fd2',
    500: '#a222bd',
    950: '#000000',
  },
}
SCSS
$custom: #a222bd;
$custom-light: #c26fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a222bd",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 289.548,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.23212,
    "h": 319.6
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#A222BD
secondary
#7ECD6E
accent
#EC3B5A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #A222BD

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

Preview Lab → · Contrast checker → · Palette generator →

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