#8227AA#8227AA

#8227AA is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.6% C 0.200 H 312.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8227AA
RGBrgb(130, 39, 170)
HSLhsl(282, 63%, 41%)
HSVhsv(282, 77%, 67%)
CMYKcmyk(23.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(36.18, 57.84, -51.92)
CIE-LCHlch(36.18, 77.73, 318.09°)
OKLaboklab(47.57% 0.1364 -0.1468)
OKLCHoklch(47.57% 0.2 312.9)
XYZxyz(17.1858, 9.0997, 38.8735)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227AA #4FAA27
analogous
#4027AA #8227AA #AA2790
triadic
#8227AA #AA8227 #27AA82
tetradic
#8227AA #AA4027 #4FAA27 #2790AA
square
#8227AA #AA4027 #4FAA27 #2790AA
split-complementary
#8227AA #90AA27 #27AA40
monochromatic
#361046 #5C1C78 #8227AA #A43CD2 #BB6EDE

Accessibility & contrast

On white

7.45
#8227AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8227AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8227AA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8227AA#FFFFFF#000000##FFFFFF
##8227AA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8227aa;
/* rgb */ color: rgb(130, 39, 170);
/* oklch */ color: oklch(47.6% 0.200 312.9);
Tailwind
colors: {
  custom: {
    50: '#ab6cc4',
    500: '#8227aa',
    950: '#000000',
  },
}
SCSS
$custom: #8227aa;
$custom-light: #ab6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8227aa",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 281.679,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.20044,
    "h": 312.9
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#8227AA
secondary
#85C469
accent
#E64274
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8227AA

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

Preview Lab → · Contrast checker → · Palette generator →

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