#A22BE2#A22BE2

#A22BE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.4% C 0.255 H 309.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A22BE2
RGBrgb(162, 43, 226)
HSLhsl(279, 76%, 53%)
HSVhsv(279, 81%, 89%)
CMYKcmyk(28.3%, 81%, 0%, 11.4%)
CIE-LABlab(45.50, 73.41, -69.22)
CIE-LCHlch(45.50, 100.90, 316.68°)
OKLaboklab(56.36% 0.1629 -0.1966)
OKLCHoklch(56.36% 0.255 309.6)
XYZxyz(29.4889, 14.9007, 73.2594)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BE2 #6BE22B
analogous
#462BE2 #A22BE2 #E22BC7
triadic
#A22BE2 #E2A22B #2BE2A2
tetradic
#A22BE2 #E2462B #6BE22B #2BC7E2
square
#A22BE2 #E2462B #6BE22B #2BC7E2
split-complementary
#A22BE2 #C7E22B #2BE246
monochromatic
#5A1281 #8019B7 #A22BE2 #BA61E9 #D197F1

Accessibility & contrast

On white

5.28
#A22BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A22BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BE2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BE2#FFFFFF#000000##FFFFFF
##A22BE21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#985C89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a22be2;
/* rgb */ color: rgb(162, 43, 226);
/* oklch */ color: oklch(56.4% 0.255 309.6);
Tailwind
colors: {
  custom: {
    50: '#c474ec',
    500: '#a22be2',
    950: '#000000',
  },
}
SCSS
$custom: #a22be2;
$custom-light: #c474ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a22be2",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 279.016,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.25537,
    "h": 309.6
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#A22BE2
secondary
#A8DC8D
accent
#F33577
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A22BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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