#8227A9#8227A9

#8227A9 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.200 H 313.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8227A9
RGBrgb(130, 39, 169)
HSLhsl(282, 63%, 41%)
HSVhsv(282, 77%, 66%)
CMYKcmyk(23.1%, 76.9%, 0%, 33.7%)
CIE-LABlab(36.10, 57.63, -51.44)
CIE-LCHlch(36.10, 77.25, 318.25°)
OKLaboklab(47.5% 0.1366 -0.1454)
OKLCHoklch(47.5% 0.2 313.2)
XYZxyz(17.0916, 9.0620, 38.3772)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227A9 #4EA927
analogous
#4127A9 #8227A9 #A9278F
triadic
#8227A9 #A98227 #27A982
tetradic
#8227A9 #A94127 #4EA927 #278FA9
square
#8227A9 #A94127 #4EA927 #278FA9
split-complementary
#8227A9 #8FA927 #27A941
monochromatic
#351046 #5C1C77 #8227A9 #A53BD2 #BC6DDD

Accessibility & contrast

On white

7.47
#8227A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8227A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8227A9#FFFFFF#000000##FFFFFF
##8227A91.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#1857A6
Tritanopia (blue-blind)
#7E4567
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8227a9;
/* rgb */ color: rgb(130, 39, 169);
/* oklch */ color: oklch(47.5% 0.200 313.2);
Tailwind
colors: {
  custom: {
    50: '#ab6bc3',
    500: '#8227a9',
    950: '#000000',
  },
}
SCSS
$custom: #8227a9;
$custom-light: #ab6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8227a9",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 282,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47498,
    "c": 0.19954,
    "h": 313.2
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#8227A9
secondary
#84C468
accent
#E64273
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8227A9

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

Preview Lab → · Contrast checker → · Palette generator →

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