#A22FD8#A22FD8

#A22FD8 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.243 H 311.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A22FD8
RGBrgb(162, 47, 216)
HSLhsl(281, 68%, 52%)
HSVhsv(281, 78%, 85%)
CMYKcmyk(25%, 78.2%, 0%, 15.3%)
CIE-LABlab(45.18, 70.19, -64.02)
CIE-LCHlch(45.18, 95.01, 317.63°)
OKLaboklab(55.92% 0.1623 -0.1814)
OKLCHoklch(55.92% 0.243 311.8)
XYZxyz(28.3092, 14.6731, 66.2933)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FD8 #65D82F
analogous
#4E2FD8 #A22FD8 #D82FBA
triadic
#A22FD8 #D8A22F #2FD8A2
tetradic
#A22FD8 #D84E2F #65D82F #2FBAD8
square
#A22FD8 #D84E2F #65D82F #2FBAD8
split-complementary
#A22FD8 #BAD82F #2FD84E
monochromatic
#581676 #7E20AA #A22FD8 #B963E2 #D096EB

Accessibility & contrast

On white

5.34
#A22FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A22FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FD8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FD8#FFFFFF#000000##FFFFFF
##A22FD81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#026DD5
Tritanopia (blue-blind)
#9B5984
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a22fd8;
/* rgb */ color: rgb(162, 47, 216);
/* oklch */ color: oklch(55.9% 0.243 311.8);
Tailwind
colors: {
  custom: {
    50: '#c375e5',
    500: '#a22fd8',
    950: '#000000',
  },
}
SCSS
$custom: #a22fd8;
$custom-light: #c375e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fd8",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 280.828,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.2434,
    "h": 311.8
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#A22FD8
secondary
#A4D78C
accent
#EB3D74
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A22FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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