#A22691#A22691

#A22691 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.195 H 334.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A22691
RGBrgb(162, 38, 145)
HSLhsl(308, 62%, 39%)
HSVhsv(308, 77%, 64%)
CMYKcmyk(0%, 76.5%, 10.5%, 36.5%)
CIE-LABlab(39.77, 60.45, -30.78)
CIE-LCHlch(39.77, 67.84, 333.02°)
OKLaboklab(50.67% 0.1759 -0.0843)
OKLCHoklch(50.67% 0.195 334.4)
XYZxyz(20.7045, 11.1138, 27.8373)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22691 #26A237
analogous
#7526A2 #A22691 #A22653
triadic
#A22691 #91A226 #2691A2
tetradic
#A22691 #A27526 #26A237 #2653A2
square
#A22691 #A27526 #26A237 #2653A2
split-complementary
#A22691 #53A226 #26A275
monochromatic
#3F0F38 #701A65 #A22691 #D035BB #DB67CB

Accessibility & contrast

On white

6.52
#A22691 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A22691 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22691
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22691#FFFFFF#000000##FFFFFF
##A226911.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#AA325A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22691;
/* rgb */ color: rgb(162, 38, 145);
/* oklch */ color: oklch(50.7% 0.195 334.4);
Tailwind
colors: {
  custom: {
    50: '#c16eb1',
    500: '#a22691',
    950: '#000000',
  },
}
SCSS
$custom: #a22691;
$custom-light: #c16eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22691",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 308.226,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.19503,
    "h": 334.4
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#A22691
secondary
#63C170
accent
#E55943
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22691

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

Preview Lab → · Contrast checker → · Palette generator →

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