#8A29A7#8A29A7

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

Color values

HEX#8A29A7
RGBrgb(138, 41, 167)
HSLhsl(286, 61%, 41%)
HSVhsv(286, 75%, 65%)
CMYKcmyk(17.4%, 75.4%, 0%, 34.5%)
CIE-LABlab(37.44, 58.08, -48.02)
CIE-LCHlch(37.44, 75.36, 320.42°)
OKLaboklab(48.65% 0.1453 -0.1351)
OKLCHoklch(48.65% 0.198 317.1)
XYZxyz(18.2482, 9.7800, 37.4782)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29A7 #46A729
analogous
#4B29A7 #8A29A7 #A72985
triadic
#8A29A7 #A78A29 #29A78A
tetradic
#8A29A7 #A74B29 #46A729 #2985A7
square
#8A29A7 #A74B29 #46A729 #2985A7
split-complementary
#8A29A7 #85A729 #29A74B
monochromatic
#391145 #611D76 #8A29A7 #AE3ED0 #C36FDC

Accessibility & contrast

On white

7.10
#8A29A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A29A7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29A7#FFFFFF#000000##FFFFFF
##8A29A71.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#2B5BA4
Tritanopia (blue-blind)
#894466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a29a7;
/* rgb */ color: rgb(138, 41, 167);
/* oklch */ color: oklch(48.7% 0.198 317.1);
Tailwind
colors: {
  custom: {
    50: '#b06dc2',
    500: '#8a29a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a29a7;
$custom-light: #b06dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29a7",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 286.19,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48651,
    "c": 0.19843,
    "h": 317.1
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#8A29A7
secondary
#7EC269
accent
#E44469
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A29A7

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

Preview Lab → · Contrast checker → · Palette generator →

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