#A22DC3#A22DC3

#A22DC3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.227 H 317.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A22DC3
RGBrgb(162, 45, 195)
HSLhsl(287, 63%, 47%)
HSVhsv(287, 77%, 76%)
CMYKcmyk(16.9%, 76.9%, 0%, 23.5%)
CIE-LABlab(43.51, 66.78, -54.60)
CIE-LCHlch(43.51, 86.26, 320.73°)
OKLaboklab(54.28% 0.1675 -0.1537)
OKLCHoklch(54.28% 0.227 317.5)
XYZxyz(25.6876, 13.4994, 52.8717)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DC3 #4EC32D
analogous
#572DC3 #A22DC3 #C32D99
triadic
#A22DC3 #C3A22D #2DC3A2
tetradic
#A22DC3 #C3572D #4EC32D #2D99C3
square
#A22DC3 #C3572D #4EC32D #2D99C3
split-complementary
#A22DC3 #99C32D #2DC357
monochromatic
#4F1660 #792291 #A22DC3 #BB55D8 #CF87E3

Accessibility & contrast

On white

5.68
#A22DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A22DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DC3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DC3#FFFFFF#000000##FFFFFF
##A22DC31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#316AC0
Tritanopia (blue-blind)
#A14E77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22dc3;
/* rgb */ color: rgb(162, 45, 195);
/* oklch */ color: oklch(54.3% 0.227 317.5);
Tailwind
colors: {
  custom: {
    50: '#c273d6',
    500: '#a22dc3',
    950: '#000000',
  },
}
SCSS
$custom: #a22dc3;
$custom-light: #c273d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22dc3",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 286.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.22736,
    "h": 317.5
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#A22DC3
secondary
#90CD7F
accent
#E64266
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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