#A22FC8#A22FC8

#A22FC8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.230 H 316.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A22FC8
RGBrgb(162, 47, 200)
HSLhsl(285, 62%, 48%)
HSVhsv(285, 77%, 78%)
CMYKcmyk(19%, 76.5%, 0%, 21.6%)
CIE-LABlab(44.07, 67.07, -56.60)
CIE-LCHlch(44.07, 87.76, 319.84°)
OKLaboklab(54.78% 0.1651 -0.1596)
OKLCHoklch(54.78% 0.23 316)
XYZxyz(26.3405, 13.8856, 55.9251)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FC8 #55C82F
analogous
#552FC8 #A22FC8 #C82FA1
triadic
#A22FC8 #C8A22F #2FC8A2
tetradic
#A22FC8 #C8552F #55C82F #2FA1C8
square
#A22FC8 #C8552F #55C82F #2FA1C8
split-complementary
#A22FC8 #A1C82F #2FC855
monochromatic
#521865 #7A2396 #A22FC8 #BA5CD9 #CF8DE4

Accessibility & contrast

On white

5.56
#A22FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A22FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FC8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FC8#FFFFFF#000000##FFFFFF
##A22FC81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#9F527B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a22fc8;
/* rgb */ color: rgb(162, 47, 200);
/* oklch */ color: oklch(54.8% 0.230 316.0);
Tailwind
colors: {
  custom: {
    50: '#c274d9',
    500: '#a22fc8',
    950: '#000000',
  },
}
SCSS
$custom: #a22fc8;
$custom-light: #c274d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fc8",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 285.098,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.22965,
    "h": 316
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#A22FC8
secondary
#97CF84
accent
#E5436B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A22FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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