#8227A5#8227A5

#8227A5 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.196 H 314.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8227A5
RGBrgb(130, 39, 165)
HSLhsl(283, 62%, 40%)
HSVhsv(283, 76%, 65%)
CMYKcmyk(21.2%, 76.4%, 0%, 35.3%)
CIE-LABlab(35.82, 56.81, -49.50)
CIE-LCHlch(35.82, 75.35, 318.93°)
OKLaboklab(47.21% 0.1373 -0.1397)
OKLCHoklch(47.21% 0.196 314.5)
XYZxyz(16.7218, 8.9141, 36.4298)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227A5 #4AA527
analogous
#4327A5 #8227A5 #A52789
triadic
#8227A5 #A58227 #27A582
tetradic
#8227A5 #A54327 #4AA527 #2789A5
square
#8227A5 #A54327 #4AA527 #2789A5
split-complementary
#8227A5 #89A527 #27A543
monochromatic
#341042 #5B1B74 #8227A5 #A639D0 #BC6ADC

Accessibility & contrast

On white

7.55
#8227A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8227A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8227A5#FFFFFF#000000##FFFFFF
##8227A51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#1F56A2
Tritanopia (blue-blind)
#7F4365
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8227a5;
/* rgb */ color: rgb(130, 39, 165);
/* oklch */ color: oklch(47.2% 0.196 314.5);
Tailwind
colors: {
  custom: {
    50: '#aa6bc0',
    500: '#8227a5',
    950: '#000000',
  },
}
SCSS
$custom: #8227a5;
$custom-light: #aa6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8227a5",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 283.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.47207,
    "c": 0.19588,
    "h": 314.5
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#8227A5
secondary
#7FC266
accent
#E54370
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8227A5

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

Preview Lab → · Contrast checker → · Palette generator →

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