#A22DCA#A22DCA

#A22DCA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.233 H 315.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A22DCA
RGBrgb(162, 45, 202)
HSLhsl(285, 64%, 48%)
HSVhsv(285, 78%, 79%)
CMYKcmyk(19.8%, 77.7%, 0%, 20.8%)
CIE-LABlab(43.98, 68.10, -57.91)
CIE-LCHlch(43.98, 89.39, 319.63°)
OKLaboklab(54.76% 0.1665 -0.1634)
OKLCHoklch(54.76% 0.233 315.5)
XYZxyz(26.4976, 13.8235, 57.1381)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DCA #55CA2D
analogous
#532DCA #A22DCA #CA2DA3
triadic
#A22DCA #CAA22D #2DCAA2
tetradic
#A22DCA #CA532D #55CA2D #2DA3CA
square
#A22DCA #CA532D #55CA2D #2DA3CA
split-complementary
#A22DCA #A3CA2D #2DCA53
monochromatic
#521766 #7A2298 #A22DCA #BA5ADA #CF8CE5

Accessibility & contrast

On white

5.58
#A22DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A22DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DCA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DCA#FFFFFF#000000##FFFFFF
##A22DCA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#9F517B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a22dca;
/* rgb */ color: rgb(162, 45, 202);
/* oklch */ color: oklch(54.8% 0.233 315.5);
Tailwind
colors: {
  custom: {
    50: '#c274db',
    500: '#a22dca',
    950: '#000000',
  },
}
SCSS
$custom: #a22dca;
$custom-light: #c274db;
$custom-dark: #000000;
JSON
{
  "hex": "#a22dca",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 284.713,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54758,
    "c": 0.23326,
    "h": 315.5
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#A22DCA
secondary
#97CF83
accent
#E7416B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A22DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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