#8227AC#8227AC

#8227AC is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.7% C 0.202 H 312.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8227AC
RGBrgb(130, 39, 172)
HSLhsl(281, 63%, 41%)
HSVhsv(281, 77%, 67%)
CMYKcmyk(24.4%, 77.3%, 0%, 32.5%)
CIE-LABlab(36.32, 58.26, -52.89)
CIE-LCHlch(36.32, 78.68, 317.77°)
OKLaboklab(47.72% 0.1361 -0.1497)
OKLCHoklch(47.72% 0.202 312.3)
XYZxyz(17.3765, 9.1759, 39.8775)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227AC #51AC27
analogous
#4027AC #8227AC #AC2794
triadic
#8227AC #AC8227 #27AC82
tetradic
#8227AC #AC4027 #51AC27 #2794AC
square
#8227AC #AC4027 #51AC27 #2794AC
split-complementary
#8227AC #94AC27 #27AC40
monochromatic
#371048 #5C1C7A #8227AC #A43DD3 #BB6FDE

Accessibility & contrast

On white

7.41
#8227AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8227AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8227AC#FFFFFF#000000##FFFFFF
##8227AC1.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)
#0051B0
Deuteranopia (green-blind)
#1157A9
Tritanopia (blue-blind)
#7D4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8227ac;
/* rgb */ color: rgb(130, 39, 172);
/* oklch */ color: oklch(47.7% 0.202 312.3);
Tailwind
colors: {
  custom: {
    50: '#ab6cc5',
    500: '#8227ac',
    950: '#000000',
  },
}
SCSS
$custom: #8227ac;
$custom-light: #ab6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8227ac",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 281.053,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.20228,
    "h": 312.3
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#8227AC
secondary
#87C56A
accent
#E64276
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8227AC

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

Preview Lab → · Contrast checker → · Palette generator →

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