#A22EBD#A22EBD

#A22EBD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.221 H 319.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A22EBD
RGBrgb(162, 46, 189)
HSLhsl(289, 61%, 46%)
HSVhsv(289, 76%, 74%)
CMYKcmyk(14.3%, 75.7%, 0%, 25.9%)
CIE-LABlab(43.23, 65.33, -51.55)
CIE-LCHlch(43.23, 83.22, 321.73°)
OKLaboklab(53.95% 0.1674 -0.1447)
OKLCHoklch(53.95% 0.221 319.2)
XYZxyz(25.0614, 13.3107, 49.3834)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EBD #49BD2E
analogous
#5A2EBD #A22EBD #BD2E90
triadic
#A22EBD #BDA22E #2EBDA2
tetradic
#A22EBD #BD5A2E #49BD2E #2E90BD
square
#A22EBD #BD5A2E #49BD2E #2E90BD
split-complementary
#A22EBD #90BD2E #2EBD5A
monochromatic
#4E165B #78228C #A22EBD #BD53D5 #D084E1

Accessibility & contrast

On white

5.73
#A22EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A22EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EBD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EBD#FFFFFF#000000##FFFFFF
##A22EBD1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#A24C74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22ebd;
/* rgb */ color: rgb(162, 46, 189);
/* oklch */ color: oklch(54.0% 0.221 319.2);
Tailwind
colors: {
  custom: {
    50: '#c273d2',
    500: '#a22ebd',
    950: '#000000',
  },
}
SCSS
$custom: #a22ebd;
$custom-light: #c273d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ebd",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 288.671,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.22133,
    "h": 319.2
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#A22EBD
secondary
#8BCA7C
accent
#E44462
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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