#A222BC#A222BC

#A222BC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.0% C 0.231 H 319.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A222BC
RGBrgb(162, 34, 188)
HSLhsl(290, 69%, 44%)
HSVhsv(290, 82%, 74%)
CMYKcmyk(13.8%, 81.9%, 0%, 26.3%)
CIE-LABlab(41.93, 68.70, -53.04)
CIE-LCHlch(41.93, 86.79, 322.33°)
OKLaboklab(53.02% 0.1769 -0.1491)
OKLCHoklch(53.02% 0.231 319.9)
XYZxyz(24.5483, 12.4576, 48.6787)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A222BC #3CBC22
analogous
#5522BC #A222BC #BC2289
triadic
#A222BC #BCA222 #22BCA2
tetradic
#A222BC #BC5522 #3CBC22 #2289BC
square
#A222BC #BC5522 #3CBC22 #2289BC
split-complementary
#A222BC #89BC22 #22BC55
monochromatic
#490F54 #751988 #A222BC #C23FDC #D273E6

Accessibility & contrast

On white

6.02
#A222BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A222BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A222BC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A222BC#FFFFFF#000000##FFFFFF
##A222BC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#A24671
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a222bc;
/* rgb */ color: rgb(162, 34, 188);
/* oklch */ color: oklch(53.0% 0.231 319.9);
Tailwind
colors: {
  custom: {
    50: '#c26fd1',
    500: '#a222bc',
    950: '#000000',
  },
}
SCSS
$custom: #a222bc;
$custom-light: #c26fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a222bc",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 289.87,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.23132,
    "h": 319.9
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#A222BC
secondary
#7DCD6D
accent
#EC3C59
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #A222BC

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

Preview Lab → · Contrast checker → · Palette generator →

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