#8228A4#8228A4

#8228A4 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.194 H 314.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8228A4
RGBrgb(130, 40, 164)
HSLhsl(284, 61%, 40%)
HSVhsv(284, 76%, 64%)
CMYKcmyk(20.7%, 75.6%, 0%, 35.7%)
CIE-LABlab(35.88, 56.24, -48.81)
CIE-LCHlch(35.88, 74.46, 319.05°)
OKLaboklab(47.23% 0.1365 -0.1377)
OKLCHoklch(47.23% 0.194 314.7)
XYZxyz(16.6644, 8.9443, 35.9634)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8228A4 #4AA428
analogous
#4428A4 #8228A4 #A42888
triadic
#8228A4 #A48228 #28A482
tetradic
#8228A4 #A44428 #4AA428 #2888A4
square
#8228A4 #A44428 #4AA428 #2888A4
split-complementary
#8228A4 #88A428 #28A444
monochromatic
#341042 #5B1C73 #8228A4 #A63ACF #BC6BDB

Accessibility & contrast

On white

7.53
#8228A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8228A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8228A4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8228A4#FFFFFF#000000##FFFFFF
##8228A41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#2257A1
Tritanopia (blue-blind)
#7F4464
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8228a4;
/* rgb */ color: rgb(130, 40, 164);
/* oklch */ color: oklch(47.2% 0.194 314.7);
Tailwind
colors: {
  custom: {
    50: '#aa6cc0',
    500: '#8228a4',
    950: '#000000',
  },
}
SCSS
$custom: #8228a4;
$custom-light: #aa6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8228a4",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 283.548,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.47226,
    "c": 0.19388,
    "h": 314.7
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#8228A4
secondary
#7FC166
accent
#E44470
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8228A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8228A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva