#A22997#A22997

#A22997 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.196 H 332.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A22997
RGBrgb(162, 41, 151)
HSLhsl(305, 60%, 40%)
HSVhsv(305, 75%, 64%)
CMYKcmyk(0%, 74.7%, 6.8%, 36.5%)
CIE-LABlab(40.42, 60.43, -33.41)
CIE-LCHlch(40.42, 69.05, 331.07°)
OKLaboklab(51.23% 0.1734 -0.0919)
OKLCHoklch(51.23% 0.196 332.1)
XYZxyz(21.2792, 11.5034, 30.3718)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22997 #29A234
analogous
#7129A2 #A22997 #A2295A
triadic
#A22997 #97A229 #2997A2
tetradic
#A22997 #A27129 #29A234 #295AA2
square
#A22997 #A27129 #29A234 #295AA2
split-complementary
#A22997 #5AA229 #29A271
monochromatic
#40103C #711D69 #A22997 #CD3BC0 #DA6CD0

Accessibility & contrast

On white

6.36
#A22997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A22997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22997
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22997#FFFFFF#000000##FFFFFF
##A229971.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#A9375E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22997;
/* rgb */ color: rgb(162, 41, 151);
/* oklch */ color: oklch(51.2% 0.196 332.1);
Tailwind
colors: {
  custom: {
    50: '#c170b6',
    500: '#a22997',
    950: '#000000',
  },
}
SCSS
$custom: #a22997;
$custom-light: #c170b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22997",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 305.455,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.19626,
    "h": 332.1
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

primary
#A22997
secondary
#67C06F
accent
#E35345
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22997

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

Preview Lab → · Contrast checker → · Palette generator →

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