#A22DD3#A22DD3

#A22DD3 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.4% C 0.241 H 313.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A22DD3
RGBrgb(162, 45, 211)
HSLhsl(282, 65%, 50%)
HSVhsv(282, 79%, 83%)
CMYKcmyk(23.2%, 78.7%, 0%, 17.3%)
CIE-LABlab(44.61, 69.84, -62.09)
CIE-LCHlch(44.61, 93.45, 318.36°)
OKLaboklab(55.4% 0.1648 -0.1757)
OKLCHoklch(55.4% 0.241 313.2)
XYZxyz(27.5945, 14.2622, 62.9147)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DD3 #5ED32D
analogous
#4F2DD3 #A22DD3 #D32DB1
triadic
#A22DD3 #D3A22D #2DD3A2
tetradic
#A22DD3 #D34F2D #5ED32D #2DB1D3
square
#A22DD3 #D34F2D #5ED32D #2DB1D3
split-complementary
#A22DD3 #B1D32D #2DD34F
monochromatic
#55176E #7B22A1 #A22DD3 #B860DE #CF92E8

Accessibility & contrast

On white

5.45
#A22DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A22DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DD3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DD3#FFFFFF#000000##FFFFFF
##A22DD31.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#146CD0
Tritanopia (blue-blind)
#9D5681
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a22dd3;
/* rgb */ color: rgb(162, 45, 211);
/* oklch */ color: oklch(55.4% 0.241 313.2);
Tailwind
colors: {
  custom: {
    50: '#c374e1',
    500: '#a22dd3',
    950: '#000000',
  },
}
SCSS
$custom: #a22dd3;
$custom-light: #c374e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22dd3",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 211
  },
  "hsl": {
    "h": 282.289,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.24091,
    "h": 313.2
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

primary
#A22DD3
secondary
#9FD389
accent
#E83F71
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A22DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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