#A22FB2#A22FB2

#A22FB2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.211 H 322.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A22FB2
RGBrgb(162, 47, 178)
HSLhsl(293, 58%, 44%)
HSVhsv(293, 74%, 70%)
CMYKcmyk(9%, 73.6%, 0%, 30.2%)
CIE-LABlab(42.66, 62.98, -45.99)
CIE-LCHlch(42.66, 77.99, 323.86°)
OKLaboklab(53.33% 0.1675 -0.1285)
OKLCHoklch(53.33% 0.211 322.5)
XYZxyz(23.9519, 12.9302, 43.3450)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FB2 #3FB22F
analogous
#612FB2 #A22FB2 #B22F81
triadic
#A22FB2 #B2A22F #2FB2A2
tetradic
#A22FB2 #B2612F #3FB22F #2F81B2
square
#A22FB2 #B2612F #3FB22F #2F81B2
split-complementary
#A22FB2 #81B22F #2FB261
monochromatic
#4A1551 #762282 #A22FB2 #C04ED0 #D17EDD

Accessibility & contrast

On white

5.86
#A22FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A22FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FB2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FB2#FFFFFF#000000##FFFFFF
##A22FB21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#A4476E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22fb2;
/* rgb */ color: rgb(162, 47, 178);
/* oklch */ color: oklch(53.3% 0.211 322.5);
Tailwind
colors: {
  custom: {
    50: '#c173ca',
    500: '#a22fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a22fb2;
$custom-light: #c173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fb2",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 292.672,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.2111,
    "h": 322.5
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#A22FB2
secondary
#81C677
accent
#E14659
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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