#A22391#A22391

#A22391 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.198 H 334.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A22391
RGBrgb(162, 35, 145)
HSLhsl(308, 64%, 39%)
HSVhsv(308, 78%, 64%)
CMYKcmyk(0%, 78.4%, 10.5%, 36.5%)
CIE-LABlab(39.46, 61.34, -31.27)
CIE-LCHlch(39.46, 68.85, 332.99°)
OKLaboklab(50.44% 0.1785 -0.0857)
OKLCHoklch(50.44% 0.198 334.4)
XYZxyz(20.6124, 10.9296, 27.8066)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22391 #23A234
analogous
#7323A2 #A22391 #A22352
triadic
#A22391 #91A223 #2391A2
tetradic
#A22391 #A27323 #23A234 #2352A2
square
#A22391 #A27323 #23A234 #2352A2
split-complementary
#A22391 #52A223 #23A273
monochromatic
#3D0D37 #701864 #A22391 #D230BD #DD62CD

Accessibility & contrast

On white

6.59
#A22391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A22391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22391
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22391#FFFFFF#000000##FFFFFF
##A223911.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#AA3059
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22391;
/* rgb */ color: rgb(162, 35, 145);
/* oklch */ color: oklch(50.4% 0.198 334.4);
Tailwind
colors: {
  custom: {
    50: '#c16db1',
    500: '#a22391',
    950: '#000000',
  },
}
SCSS
$custom: #a22391;
$custom-light: #c16db1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22391",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 308.031,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.19799,
    "h": 334.4
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#A22391
secondary
#5EC26C
accent
#E75740
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22391

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

Preview Lab → · Contrast checker → · Palette generator →

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