#A22FBE#A22FBE

#A22FBE is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.221 H 318.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A22FBE
RGBrgb(162, 47, 190)
HSLhsl(288, 60%, 46%)
HSVhsv(288, 75%, 75%)
CMYKcmyk(14.7%, 75.3%, 0%, 25.5%)
CIE-LABlab(43.41, 65.18, -51.84)
CIE-LCHlch(43.41, 83.28, 321.50°)
OKLaboklab(54.1% 0.1664 -0.1456)
OKLCHoklch(54.1% 0.221 318.8)
XYZxyz(25.2098, 13.4333, 49.9702)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FBE #4BBE2F
analogous
#5B2FBE #A22FBE #BE2F93
triadic
#A22FBE #BEA22F #2FBEA2
tetradic
#A22FBE #BE5B2F #4BBE2F #2F93BE
square
#A22FBE #BE5B2F #4BBE2F #2F93BE
split-complementary
#A22FBE #93BE2F #2FBE5B
monochromatic
#4E175C #78238D #A22FBE #BC55D5 #CF86E1

Accessibility & contrast

On white

5.70
#A22FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A22FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FBE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FBE#FFFFFF#000000##FFFFFF
##A22FBE1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#386ABB
Tritanopia (blue-blind)
#A24D75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22fbe;
/* rgb */ color: rgb(162, 47, 190);
/* oklch */ color: oklch(54.1% 0.221 318.8);
Tailwind
colors: {
  custom: {
    50: '#c274d2',
    500: '#a22fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a22fbe;
$custom-light: #c274d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fbe",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 288.252,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.22115,
    "h": 318.8
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#A22FBE
secondary
#8DCB7E
accent
#E34463
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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