#8228A5#8228A5

#8228A5 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.195 H 314.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8228A5
RGBrgb(130, 40, 165)
HSLhsl(283, 61%, 40%)
HSVhsv(283, 76%, 65%)
CMYKcmyk(21.2%, 75.8%, 0%, 35.3%)
CIE-LABlab(35.95, 56.44, -49.29)
CIE-LCHlch(35.95, 74.94, 318.87°)
OKLaboklab(47.3% 0.1364 -0.1391)
OKLCHoklch(47.3% 0.195 314.4)
XYZxyz(16.7551, 8.9806, 36.4408)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8228A5 #4BA528
analogous
#4328A5 #8228A5 #A52889
triadic
#8228A5 #A58228 #28A582
tetradic
#8228A5 #A54328 #4BA528 #2889A5
square
#8228A5 #A54328 #4BA528 #2889A5
split-complementary
#8228A5 #89A528 #28A543
monochromatic
#341042 #5B1C74 #8228A5 #A63BCF #BC6CDB

Accessibility & contrast

On white

7.51
#8228A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8228A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8228A5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8228A5#FFFFFF#000000##FFFFFF
##8228A51.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#2057A2
Tritanopia (blue-blind)
#7F4465
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8228a5;
/* rgb */ color: rgb(130, 40, 165);
/* oklch */ color: oklch(47.3% 0.195 314.4);
Tailwind
colors: {
  custom: {
    50: '#aa6cc0',
    500: '#8228a5',
    950: '#000000',
  },
}
SCSS
$custom: #8228a5;
$custom-light: #aa6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8228a5",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 283.2,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.19481,
    "h": 314.4
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#8228A5
secondary
#80C267
accent
#E44471
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8228A5

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

Preview Lab → · Contrast checker → · Palette generator →

#8228A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva