#A22398#A22398

#A22398 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.203 H 331.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A22398
RGBrgb(162, 35, 152)
HSLhsl(305, 64%, 39%)
HSVhsv(305, 78%, 64%)
CMYKcmyk(0%, 78.4%, 6.2%, 36.5%)
CIE-LABlab(39.84, 62.41, -34.93)
CIE-LCHlch(39.84, 71.52, 330.76°)
OKLaboklab(50.83% 0.1787 -0.0962)
OKLCHoklch(50.83% 0.203 331.7)
XYZxyz(21.1689, 11.1522, 30.7374)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22398 #23A22D
analogous
#6C23A2 #A22398 #A22358
triadic
#A22398 #98A223 #2398A2
tetradic
#A22398 #A26C23 #23A22D #2358A2
square
#A22398 #A26C23 #23A22D #2358A2
split-complementary
#A22398 #58A223 #23A26C
monochromatic
#3D0D3A #701869 #A22398 #D230C5 #DD62D3

Accessibility & contrast

On white

6.50
#A22398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A22398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22398
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22398#FFFFFF#000000##FFFFFF
##A223981.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17539B
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#A9335D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22398;
/* rgb */ color: rgb(162, 35, 152);
/* oklch */ color: oklch(50.8% 0.203 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16eb7',
    500: '#a22398',
    950: '#000000',
  },
}
SCSS
$custom: #a22398;
$custom-light: #c16eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22398",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 304.724,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.203,
    "h": 331.7
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#A22398
secondary
#5EC266
accent
#E74D40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22398

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

Preview Lab → · Contrast checker → · Palette generator →

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