#8227A4#8227A4

#8227A4 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.195 H 314.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8227A4
RGBrgb(130, 39, 164)
HSLhsl(284, 62%, 40%)
HSVhsv(284, 76%, 64%)
CMYKcmyk(20.7%, 76.2%, 0%, 35.7%)
CIE-LABlab(35.75, 56.61, -49.01)
CIE-LCHlch(35.75, 74.88, 319.11°)
OKLaboklab(47.14% 0.1374 -0.1383)
OKLCHoklch(47.14% 0.195 314.8)
XYZxyz(16.6312, 8.8778, 35.9523)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227A4 #49A427
analogous
#4427A4 #8227A4 #A42788
triadic
#8227A4 #A48227 #27A482
tetradic
#8227A4 #A44427 #49A427 #2788A4
square
#8227A4 #A44427 #49A427 #2788A4
split-complementary
#8227A4 #88A427 #27A444
monochromatic
#340F41 #5B1B73 #8227A4 #A738D0 #BD6ADC

Accessibility & contrast

On white

7.57
#8227A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8227A4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8227A4#FFFFFF#000000##FFFFFF
##8227A41.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8227a4;
/* rgb */ color: rgb(130, 39, 164);
/* oklch */ color: oklch(47.1% 0.195 314.8);
Tailwind
colors: {
  custom: {
    50: '#aa6bc0',
    500: '#8227a4',
    950: '#000000',
  },
}
SCSS
$custom: #8227a4;
$custom-light: #aa6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8227a4",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 283.68,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.19497,
    "h": 314.8
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#8227A4
secondary
#7EC265
accent
#E5436F
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8227A4

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

Preview Lab → · Contrast checker → · Palette generator →

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