#A22FB8#A22FB8

#A22FB8 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.216 H 320.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A22FB8
RGBrgb(162, 47, 184)
HSLhsl(290, 59%, 45%)
HSVhsv(290, 74%, 72%)
CMYKcmyk(12%, 74.5%, 0%, 27.8%)
CIE-LABlab(43.03, 64.07, -48.93)
CIE-LCHlch(43.03, 80.62, 322.63°)
OKLaboklab(53.71% 0.167 -0.1371)
OKLCHoklch(53.71% 0.216 320.6)
XYZxyz(24.5675, 13.1764, 46.5874)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FB8 #45B82F
analogous
#5D2FB8 #A22FB8 #B82F89
triadic
#A22FB8 #B8A22F #2FB8A2
tetradic
#A22FB8 #B85D2F #45B82F #2F89B8
square
#A22FB8 #B85D2F #45B82F #2F89B8
split-complementary
#A22FB8 #89B82F #2FB85D
monochromatic
#4C1657 #772387 #A22FB8 #BE52D3 #D082DF

Accessibility & contrast

On white

5.78
#A22FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22FB8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FB8#FFFFFF#000000##FFFFFF
##A22FB81.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#A34A72
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22fb8;
/* rgb */ color: rgb(162, 47, 184);
/* oklch */ color: oklch(53.7% 0.216 320.6);
Tailwind
colors: {
  custom: {
    50: '#c174ce',
    500: '#a22fb8',
    950: '#000000',
  },
}
SCSS
$custom: #a22fb8;
$custom-light: #c174ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fb8",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 290.365,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.21611,
    "h": 320.6
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#A22FB8
secondary
#87C87B
accent
#E2455F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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