#8A29A5#8A29A5

#8A29A5 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.197 H 317.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8A29A5
RGBrgb(138, 41, 165)
HSLhsl(287, 60%, 40%)
HSVhsv(287, 75%, 65%)
CMYKcmyk(16.4%, 75.2%, 0%, 35.3%)
CIE-LABlab(37.31, 57.69, -47.03)
CIE-LCHlch(37.31, 74.43, 320.81°)
OKLaboklab(48.51% 0.1456 -0.1322)
OKLCHoklch(48.51% 0.197 317.7)
XYZxyz(18.0647, 9.7066, 36.5120)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29A5 #44A529
analogous
#4C29A5 #8A29A5 #A52982
triadic
#8A29A5 #A58A29 #29A58A
tetradic
#8A29A5 #A54C29 #44A529 #2982A5
square
#8A29A5 #A54C29 #44A529 #2982A5
split-complementary
#8A29A5 #82A529 #29A54C
monochromatic
#381143 #611D74 #8A29A5 #AF3DCF #C36EDB

Accessibility & contrast

On white

7.14
#8A29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A29A5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29A5#FFFFFF#000000##FFFFFF
##8A29A51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2D5BA2
Tritanopia (blue-blind)
#894365
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a29a5;
/* rgb */ color: rgb(138, 41, 165);
/* oklch */ color: oklch(48.5% 0.197 317.7);
Tailwind
colors: {
  custom: {
    50: '#b06dc0',
    500: '#8a29a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a29a5;
$custom-light: #b06dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29a5",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 286.935,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48513,
    "c": 0.19666,
    "h": 317.7
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#8A29A5
secondary
#7CC268
accent
#E34467
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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