#8227A3#8227A3

#8227A3 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.194 H 315.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8227A3
RGBrgb(130, 39, 163)
HSLhsl(284, 61%, 40%)
HSVhsv(284, 76%, 64%)
CMYKcmyk(20.2%, 76.1%, 0%, 36.1%)
CIE-LABlab(35.68, 56.41, -48.53)
CIE-LCHlch(35.68, 74.41, 319.29°)
OKLaboklab(47.06% 0.1376 -0.1369)
OKLCHoklch(47.06% 0.194 315.1)
XYZxyz(16.5412, 8.8418, 35.4785)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227A3 #48A327
analogous
#4427A3 #8227A3 #A32786
triadic
#8227A3 #A38227 #27A382
tetradic
#8227A3 #A34427 #48A327 #2786A3
square
#8227A3 #A34427 #48A327 #2786A3
split-complementary
#8227A3 #86A327 #27A344
monochromatic
#330F40 #5B1B72 #8227A3 #A738CF #BD69DB

Accessibility & contrast

On white

7.59
#8227A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8227A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8227A3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8227A3#FFFFFF#000000##FFFFFF
##8227A31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#7F4364
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8227a3;
/* rgb */ color: rgb(130, 39, 163);
/* oklch */ color: oklch(47.1% 0.194 315.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bbf',
    500: '#8227a3',
    950: '#000000',
  },
}
SCSS
$custom: #8227a3;
$custom-light: #aa6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8227a3",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 284.032,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.19406,
    "h": 315.1
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#8227A3
secondary
#7DC164
accent
#E4436E
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8227A3

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

Preview Lab → · Contrast checker → · Palette generator →

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