#8227AF#8227AF

#8227AF is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 47.9% C 0.205 H 311.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8227AF
RGBrgb(130, 39, 175)
HSLhsl(280, 64%, 42%)
HSVhsv(280, 78%, 69%)
CMYKcmyk(25.7%, 77.7%, 0%, 31.4%)
CIE-LABlab(36.54, 58.88, -54.32)
CIE-LCHlch(36.54, 80.11, 317.31°)
OKLaboklab(47.95% 0.1355 -0.1539)
OKLCHoklch(47.95% 0.205 311.4)
XYZxyz(17.6678, 9.2925, 41.4120)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227AF #54AF27
analogous
#3E27AF #8227AF #AF2798
triadic
#8227AF #AF8227 #27AF82
tetradic
#8227AF #AF3E27 #54AF27 #2798AF
square
#8227AF #AF3E27 #54AF27 #2798AF
split-complementary
#8227AF #98AF27 #27AF3E
monochromatic
#38114B #5D1C7D #8227AF #A33FD4 #BB71DF

Accessibility & contrast

On white

7.35
#8227AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8227AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8227AF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8227AF#FFFFFF#000000##FFFFFF
##8227AF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0658AC
Tritanopia (blue-blind)
#7C486A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8227af;
/* rgb */ color: rgb(130, 39, 175);
/* oklch */ color: oklch(47.9% 0.205 311.4);
Tailwind
colors: {
  custom: {
    50: '#ab6cc8',
    500: '#8227af',
    950: '#000000',
  },
}
SCSS
$custom: #8227af;
$custom-light: #ab6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8227af",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 280.147,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47945,
    "c": 0.20503,
    "h": 311.4
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#8227AF
secondary
#8AC66B
accent
#E74178
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8227AF

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

Preview Lab → · Contrast checker → · Palette generator →

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