#8229AB#8229AB

#8229AB is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.199 H 312.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8229AB
RGBrgb(130, 41, 171)
HSLhsl(281, 61%, 42%)
HSVhsv(281, 76%, 67%)
CMYKcmyk(24%, 76%, 0%, 32.9%)
CIE-LABlab(36.50, 57.31, -51.99)
CIE-LCHlch(36.50, 77.38, 317.79°)
OKLaboklab(47.83% 0.1345 -0.1471)
OKLCHoklch(47.83% 0.199 312.4)
XYZxyz(17.3482, 9.2725, 39.3961)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229AB #52AB29
analogous
#4129AB #8229AB #AB2993
triadic
#8229AB #AB8229 #29AB82
tetradic
#8229AB #AB4129 #52AB29 #2993AB
square
#8229AB #AB4129 #52AB29 #2993AB
split-complementary
#8229AB #93AB29 #29AB41
monochromatic
#371148 #5C1D7A #8229AB #A340D1 #BB71DD

Accessibility & contrast

On white

7.36
#8229AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8229AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8229AB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229AB#FFFFFF#000000##FFFFFF
##8229AB1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#1658A8
Tritanopia (blue-blind)
#7D4769
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8229ab;
/* rgb */ color: rgb(130, 41, 171);
/* oklch */ color: oklch(47.8% 0.199 312.4);
Tailwind
colors: {
  custom: {
    50: '#ab6cc5',
    500: '#8229ab',
    950: '#000000',
  },
}
SCSS
$custom: #8229ab;
$custom-light: #ab6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8229ab",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 281.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.19926,
    "h": 312.4
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#8229AB
secondary
#88C46C
accent
#E44376
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8229AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8229AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva