#8227AD#8227AD

#8227AD is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.8% C 0.203 H 312.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8227AD
RGBrgb(130, 39, 173)
HSLhsl(281, 63%, 42%)
HSVhsv(281, 77%, 68%)
CMYKcmyk(24.9%, 77.5%, 0%, 32.2%)
CIE-LABlab(36.39, 58.46, -53.36)
CIE-LCHlch(36.39, 79.16, 317.61°)
OKLaboklab(47.8% 0.1359 -0.1511)
OKLCHoklch(47.8% 0.203 312)
XYZxyz(17.4729, 9.2145, 40.3852)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227AD #52AD27
analogous
#3F27AD #8227AD #AD2795
triadic
#8227AD #AD8227 #27AD82
tetradic
#8227AD #AD3F27 #52AD27 #2795AD
square
#8227AD #AD3F27 #52AD27 #2795AD
split-complementary
#8227AD #95AD27 #27AD3F
monochromatic
#371049 #5C1C7B #8227AD #A33ED3 #BB70DF

Accessibility & contrast

On white

7.39
#8227AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8227AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8227AD#FFFFFF#000000##FFFFFF
##8227AD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0D57AA
Tritanopia (blue-blind)
#7D4769
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8227ad;
/* rgb */ color: rgb(130, 39, 173);
/* oklch */ color: oklch(47.8% 0.203 312.0);
Tailwind
colors: {
  custom: {
    50: '#ab6cc6',
    500: '#8227ad',
    950: '#000000',
  },
}
SCSS
$custom: #8227ad;
$custom-light: #ab6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8227ad",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 280.746,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47795,
    "c": 0.2032,
    "h": 312
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#8227AD
secondary
#88C66A
accent
#E64276
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8227AD

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

Preview Lab → · Contrast checker → · Palette generator →

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