#A22698#A22698

#A22698 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.200 H 331.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A22698
RGBrgb(162, 38, 152)
HSLhsl(305, 62%, 39%)
HSVhsv(305, 77%, 64%)
CMYKcmyk(0%, 76.5%, 6.2%, 36.5%)
CIE-LABlab(40.14, 61.53, -34.45)
CIE-LCHlch(40.14, 70.52, 330.76°)
OKLaboklab(51.05% 0.1762 -0.0949)
OKLCHoklch(51.05% 0.2 331.7)
XYZxyz(21.2609, 11.3364, 30.7680)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22698 #26A230
analogous
#6E26A2 #A22698 #A2265A
triadic
#A22698 #98A226 #2698A2
tetradic
#A22698 #A26E26 #26A230 #265AA2
square
#A22698 #A26E26 #26A230 #265AA2
split-complementary
#A22698 #5AA226 #26A26E
monochromatic
#3F0F3B #701A69 #A22698 #D035C3 #DB67D2

Accessibility & contrast

On white

6.43
#A22698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A22698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22698
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22698#FFFFFF#000000##FFFFFF
##A226981.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549B
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#A9355D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22698;
/* rgb */ color: rgb(162, 38, 152);
/* oklch */ color: oklch(51.0% 0.200 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16fb7',
    500: '#a22698',
    950: '#000000',
  },
}
SCSS
$custom: #a22698;
$custom-light: #c16fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22698",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 304.839,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.2001,
    "h": 331.7
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#A22698
secondary
#63C16A
accent
#E55043
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22698

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

Preview Lab → · Contrast checker → · Palette generator →

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