#A22FB0#A22FB0

#A22FB0 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.209 H 323.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A22FB0
RGBrgb(162, 47, 176)
HSLhsl(293, 58%, 44%)
HSVhsv(293, 73%, 69%)
CMYKcmyk(8%, 73.3%, 0%, 31%)
CIE-LABlab(42.54, 62.62, -45.00)
CIE-LCHlch(42.54, 77.12, 324.30°)
OKLaboklab(53.2% 0.1676 -0.1256)
OKLCHoklch(53.2% 0.209 323.1)
XYZxyz(23.7525, 12.8504, 42.2952)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FB0 #3DB02F
analogous
#612FB0 #A22FB0 #B02F7D
triadic
#A22FB0 #B0A22F #2FB0A2
tetradic
#A22FB0 #B0612F #3DB02F #2F7DB0
square
#A22FB0 #B0612F #3DB02F #2F7DB0
split-complementary
#A22FB0 #7DB02F #2FB061
monochromatic
#49154F #762280 #A22FB0 #C14DCF #D27DDC

Accessibility & contrast

On white

5.88
#A22FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A22FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FB0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FB0#FFFFFF#000000##FFFFFF
##A22FB01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#A5476D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22fb0;
/* rgb */ color: rgb(162, 47, 176);
/* oklch */ color: oklch(53.2% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#c173c8',
    500: '#a22fb0',
    950: '#000000',
  },
}
SCSS
$custom: #a22fb0;
$custom-light: #c173c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fb0",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 293.488,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53204,
    "c": 0.20945,
    "h": 323.1
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#A22FB0
secondary
#7EC576
accent
#E14757
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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