#8228AA#8228AA

#8228AA is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.199 H 312.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8228AA
RGBrgb(130, 40, 170)
HSLhsl(282, 62%, 41%)
HSVhsv(282, 76%, 67%)
CMYKcmyk(23.5%, 76.5%, 0%, 33.3%)
CIE-LABlab(36.30, 57.48, -51.72)
CIE-LCHlch(36.30, 77.32, 318.02°)
OKLaboklab(47.66% 0.1355 -0.1463)
OKLCHoklch(47.66% 0.199 312.8)
XYZxyz(17.2191, 9.1662, 38.8846)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8228AA #50AA28
analogous
#4128AA #8228AA #AA2891
triadic
#8228AA #AA8228 #28AA82
tetradic
#8228AA #AA4128 #50AA28 #2891AA
square
#8228AA #AA4128 #50AA28 #2891AA
split-complementary
#8228AA #91AA28 #28AA41
monochromatic
#361147 #5C1C78 #8228AA #A43ED2 #BB6FDD

Accessibility & contrast

On white

7.41
#8228AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8228AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8228AA#FFFFFF#000000##FFFFFF
##8228AA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#1757A7
Tritanopia (blue-blind)
#7D4668
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8228aa;
/* rgb */ color: rgb(130, 40, 170);
/* oklch */ color: oklch(47.7% 0.199 312.8);
Tailwind
colors: {
  custom: {
    50: '#ab6cc4',
    500: '#8228aa',
    950: '#000000',
  },
}
SCSS
$custom: #8228aa;
$custom-light: #ab6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8228aa",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 281.538,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47661,
    "c": 0.19941,
    "h": 312.8
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#8228AA
secondary
#86C46A
accent
#E54375
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8228AA

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

Preview Lab → · Contrast checker → · Palette generator →

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