#A22BA2#A22BA2

#A22BA2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.203 H 328.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A22BA2
RGBrgb(162, 43, 162)
HSLhsl(300, 58%, 40%)
HSVhsv(300, 73%, 64%)
CMYKcmyk(0%, 73.5%, 0%, 36.5%)
CIE-LABlab(41.25, 61.56, -38.72)
CIE-LCHlch(41.25, 72.73, 327.83°)
OKLaboklab(52.02% 0.1718 -0.1073)
OKLCHoklch(52.02% 0.203 328)
XYZxyz(22.2855, 12.0194, 35.3216)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BA2 #2BA22B
analogous
#662BA2 #A22BA2 #A22B66
triadic
#A22BA2 #A2A22B #2BA2A2
tetradic
#A22BA2 #A2662B #2BA22B #2B66A2
square
#A22BA2 #A2662B #2BA22B #2B66A2
split-complementary
#A22BA2 #66A22B #2BA266
monochromatic
#411141 #721E72 #A22BA2 #CC3ECC #D96FD9

Accessibility & contrast

On white

6.17
#A22BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A22BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BA2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BA2#FFFFFF#000000##FFFFFF
##A22BA21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#4B679F
Tritanopia (blue-blind)
#A73E64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22ba2;
/* rgb */ color: rgb(162, 43, 162);
/* oklch */ color: oklch(52.0% 0.203 328.0);
Tailwind
colors: {
  custom: {
    50: '#c171be',
    500: '#a22ba2',
    950: '#000000',
  },
}
SCSS
$custom: #a22ba2;
$custom-light: #c171be;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ba2",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.20252,
    "h": 328
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#A22BA2
secondary
#69C069
accent
#E14747
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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