#A22EFE#A22EFE

#A22EFE is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.8% C 0.277 H 303.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A22EFE
RGBrgb(162, 46, 254)
HSLhsl(273, 99%, 59%)
HSVhsv(273, 82%, 100%)
CMYKcmyk(36.2%, 81.9%, 0%, 0.4%)
CIE-LABlab(48.00, 78.26, -80.91)
CIE-LCHlch(48.00, 112.57, 314.05°)
OKLaboklab(58.78% 0.1533 -0.231)
OKLCHoklch(58.78% 0.277 303.6)
XYZxyz(33.7625, 16.7912, 95.2090)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EFE #8AFE2E
analogous
#3A2EFE #A22EFE #FE2EF2
triadic
#A22EFE #FEA22E #2EFEA2
tetradic
#A22EFE #FE3A2E #8AFE2E #2EF2FE
square
#A22EFE #FE3A2E #8AFE2E #2EF2FE
split-complementary
#A22EFE #F2FE2E #2EFE3A
monochromatic
#6301B1 #8501EE #A22EFE #BD6BFE #D8A8FF

Accessibility & contrast

On white

4.82
#A22EFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A22EFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EFE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EFE#FFFFFF#000000##FFFFFF
##A22EFE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0071FA
Tritanopia (blue-blind)
#8F6A9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a22efe;
/* rgb */ color: rgb(162, 46, 254);
/* oklch */ color: oklch(58.8% 0.277 303.6);
Tailwind
colors: {
  custom: {
    50: '#c577ff',
    500: '#a22efe',
    950: '#000000',
  },
}
SCSS
$custom: #a22efe;
$custom-light: #c577ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a22efe",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 254
  },
  "hsl": {
    "h": 273.462,
    "s": 99.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58779,
    "c": 0.27722,
    "h": 303.6
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

primary
#A22EFE
secondary
#BFED9B
accent
#FF2988
background
#FCF7FF
surface
#F9EEFF
border
#D2C9D7
text
#140A18
muted
#827C86

Preview Lab

Preview with #A22EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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