#A22697#A22697

#A22697 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.199 H 332.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A22697
RGBrgb(162, 38, 151)
HSLhsl(305, 62%, 39%)
HSVhsv(305, 77%, 64%)
CMYKcmyk(0%, 76.5%, 6.8%, 36.5%)
CIE-LABlab(40.09, 61.37, -33.93)
CIE-LCHlch(40.09, 70.13, 331.07°)
OKLaboklab(50.99% 0.1762 -0.0934)
OKLCHoklch(50.99% 0.199 332.1)
XYZxyz(21.1794, 11.3037, 30.3385)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22697 #26A231
analogous
#6F26A2 #A22697 #A22659
triadic
#A22697 #97A226 #2697A2
tetradic
#A22697 #A26F26 #26A231 #2659A2
square
#A22697 #A26F26 #26A231 #2659A2
split-complementary
#A22697 #59A226 #26A26F
monochromatic
#3F0F3B #701A69 #A22697 #D035C2 #DB67D1

Accessibility & contrast

On white

6.44
#A22697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A22697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22697
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22697#FFFFFF#000000##FFFFFF
##A226971.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#4F6594
Tritanopia (blue-blind)
#A9355D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22697;
/* rgb */ color: rgb(162, 38, 151);
/* oklch */ color: oklch(51.0% 0.199 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16fb6',
    500: '#a22697',
    950: '#000000',
  },
}
SCSS
$custom: #a22697;
$custom-light: #c16fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22697",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 305.323,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.19937,
    "h": 332.1
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#A22697
secondary
#63C16B
accent
#E55143
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22697

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

Preview Lab → · Contrast checker → · Palette generator →

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