#A22FB9#A22FB9

#A22FB9 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.217 H 320.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A22FB9
RGBrgb(162, 47, 185)
HSLhsl(290, 59%, 45%)
HSVhsv(290, 75%, 73%)
CMYKcmyk(12.4%, 74.6%, 0%, 27.5%)
CIE-LABlab(43.09, 64.25, -49.42)
CIE-LCHlch(43.09, 81.06, 322.43°)
OKLaboklab(53.77% 0.1669 -0.1385)
OKLCHoklch(53.77% 0.217 320.3)
XYZxyz(24.6727, 13.2185, 47.1414)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FB9 #46B92F
analogous
#5D2FB9 #A22FB9 #B92F8B
triadic
#A22FB9 #B9A22F #2FB9A2
tetradic
#A22FB9 #B95D2F #46B92F #2F8BB9
square
#A22FB9 #B95D2F #46B92F #2F8BB9
split-complementary
#A22FB9 #8BB92F #2FB95D
monochromatic
#4D1657 #772388 #A22FB9 #BE52D3 #D083DF

Accessibility & contrast

On white

5.76
#A22FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A22FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FB9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FB9#FFFFFF#000000##FFFFFF
##A22FB91.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#3D6AB6
Tritanopia (blue-blind)
#A34B72
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22fb9;
/* rgb */ color: rgb(162, 47, 185);
/* oklch */ color: oklch(53.8% 0.217 320.3);
Tailwind
colors: {
  custom: {
    50: '#c274cf',
    500: '#a22fb9',
    950: '#000000',
  },
}
SCSS
$custom: #a22fb9;
$custom-light: #c274cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fb9",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 290,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.21694,
    "h": 320.3
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#A22FB9
secondary
#88C97B
accent
#E3455F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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