#A22B98#A22B98

#A22B98 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.195 H 331.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A22B98
RGBrgb(162, 43, 152)
HSLhsl(305, 58%, 40%)
HSVhsv(305, 73%, 64%)
CMYKcmyk(0%, 73.5%, 6.2%, 36.5%)
CIE-LABlab(40.70, 59.93, -33.57)
CIE-LCHlch(40.70, 68.69, 330.75°)
OKLaboklab(51.45% 0.1716 -0.0923)
OKLCHoklch(51.45% 0.195 331.7)
XYZxyz(21.4317, 11.6779, 30.8250)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B98 #2BA235
analogous
#702BA2 #A22B98 #A22B5C
triadic
#A22B98 #98A22B #2B98A2
tetradic
#A22B98 #A2702B #2BA235 #2B5CA2
square
#A22B98 #A2702B #2BA235 #2B5CA2
split-complementary
#A22B98 #5CA22B #2BA270
monochromatic
#41113D #721E6B #A22B98 #CC3EC0 #D96FD0

Accessibility & contrast

On white

6.30
#A22B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A22B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B98
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B98#FFFFFF#000000##FFFFFF
##A22B981.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#A9395F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22b98;
/* rgb */ color: rgb(162, 43, 152);
/* oklch */ color: oklch(51.5% 0.195 331.7);
Tailwind
colors: {
  custom: {
    50: '#c171b7',
    500: '#a22b98',
    950: '#000000',
  },
}
SCSS
$custom: #a22b98;
$custom-light: #c171b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b98",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 305.042,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51451,
    "c": 0.19484,
    "h": 331.7
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#A22B98
secondary
#69C070
accent
#E15447
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22B98

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

Preview Lab → · Contrast checker → · Palette generator →

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