#8229AA#8229AA

#8229AA is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.198 H 312.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8229AA
RGBrgb(130, 41, 170)
HSLhsl(281, 61%, 41%)
HSVhsv(281, 76%, 67%)
CMYKcmyk(23.5%, 75.9%, 0%, 33.3%)
CIE-LABlab(36.43, 57.11, -51.51)
CIE-LCHlch(36.43, 76.90, 317.95°)
OKLaboklab(47.75% 0.1346 -0.1456)
OKLCHoklch(47.75% 0.198 312.7)
XYZxyz(17.2533, 9.2345, 38.8960)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229AA #51AA29
analogous
#4229AA #8229AA #AA2992
triadic
#8229AA #AA8229 #29AA82
tetradic
#8229AA #AA4229 #51AA29 #2992AA
square
#8229AA #AA4229 #51AA29 #2992AA
split-complementary
#8229AA #92AA29 #29AA42
monochromatic
#371147 #5C1D79 #8229AA #A43FD1 #BB71DD

Accessibility & contrast

On white

7.38
#8229AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8229AA#FFFFFF#000000##FFFFFF
##8229AA1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#1958A7
Tritanopia (blue-blind)
#7D4768
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8229aa;
/* rgb */ color: rgb(130, 41, 170);
/* oklch */ color: oklch(47.8% 0.198 312.7);
Tailwind
colors: {
  custom: {
    50: '#ab6cc4',
    500: '#8229aa',
    950: '#000000',
  },
}
SCSS
$custom: #8229aa;
$custom-light: #ab6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8229aa",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 281.395,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.19834,
    "h": 312.7
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#8229AA
secondary
#87C46B
accent
#E44475
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8229AA

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

Preview Lab → · Contrast checker → · Palette generator →

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