#8A29A8#8A29A8

#8A29A8 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.199 H 316.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A29A8
RGBrgb(138, 41, 168)
HSLhsl(286, 61%, 41%)
HSVhsv(286, 76%, 66%)
CMYKcmyk(17.9%, 75.6%, 0%, 34.1%)
CIE-LABlab(37.51, 58.28, -48.51)
CIE-LCHlch(37.51, 75.82, 320.23°)
OKLaboklab(48.72% 0.1452 -0.1366)
OKLCHoklch(48.72% 0.199 316.8)
XYZxyz(18.3410, 9.8171, 37.9670)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29A8 #47A829
analogous
#4A29A8 #8A29A8 #A82986
triadic
#8A29A8 #A88A29 #29A88A
tetradic
#8A29A8 #A84A29 #47A829 #2986A8
square
#8A29A8 #A84A29 #47A829 #2986A8
split-complementary
#8A29A8 #86A829 #29A84A
monochromatic
#391146 #621D77 #8A29A8 #AE3ED0 #C26FDC

Accessibility & contrast

On white

7.09
#8A29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A29A8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29A8#FFFFFF#000000##FFFFFF
##8A29A81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#2A5BA5
Tritanopia (blue-blind)
#884467
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a29a8;
/* rgb */ color: rgb(138, 41, 168);
/* oklch */ color: oklch(48.7% 0.199 316.8);
Tailwind
colors: {
  custom: {
    50: '#b06dc2',
    500: '#8a29a8',
    950: '#000000',
  },
}
SCSS
$custom: #8a29a8;
$custom-light: #b06dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29a8",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 285.827,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.19932,
    "h": 316.8
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#8A29A8
secondary
#7FC36A
accent
#E4446A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A29A8

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

Preview Lab → · Contrast checker → · Palette generator →

#8A29A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva