#A22FBF#A22FBF

#A22FBF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.222 H 318.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A22FBF
RGBrgb(162, 47, 191)
HSLhsl(288, 61%, 47%)
HSVhsv(288, 75%, 75%)
CMYKcmyk(15.2%, 75.4%, 0%, 25.1%)
CIE-LABlab(43.47, 65.37, -52.32)
CIE-LCHlch(43.47, 83.73, 321.33°)
OKLaboklab(54.17% 0.1663 -0.147)
OKLCHoklch(54.17% 0.222 318.5)
XYZxyz(25.3195, 13.4772, 50.5478)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FBF #4CBF2F
analogous
#5A2FBF #A22FBF #BF2F94
triadic
#A22FBF #BFA22F #2FBFA2
tetradic
#A22FBF #BF5A2F #4CBF2F #2F94BF
square
#A22FBF #BF5A2F #4CBF2F #2F94BF
split-complementary
#A22FBF #94BF2F #2FBF5A
monochromatic
#4F175D #78238E #A22FBF #BC56D5 #CF87E1

Accessibility & contrast

On white

5.68
#A22FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A22FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FBF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FBF#FFFFFF#000000##FFFFFF
##A22FBF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#376ABC
Tritanopia (blue-blind)
#A14D76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22fbf;
/* rgb */ color: rgb(162, 47, 191);
/* oklch */ color: oklch(54.2% 0.222 318.5);
Tailwind
colors: {
  custom: {
    50: '#c274d3',
    500: '#a22fbf',
    950: '#000000',
  },
}
SCSS
$custom: #a22fbf;
$custom-light: #c274d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fbf",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 287.917,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54169,
    "c": 0.222,
    "h": 318.5
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#A22FBF
secondary
#8ECB7F
accent
#E44464
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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