#8B29A5#8B29A5

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

Color values

HEX#8B29A5
RGBrgb(139, 41, 165)
HSLhsl(287, 60%, 40%)
HSVhsv(287, 75%, 65%)
CMYKcmyk(15.8%, 75.2%, 0%, 35.3%)
CIE-LABlab(37.47, 57.89, -46.77)
CIE-LCHlch(37.47, 74.43, 321.06°)
OKLaboklab(48.66% 0.1468 -0.1314)
OKLCHoklch(48.66% 0.197 318.2)
XYZxyz(18.2310, 9.7923, 36.5198)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B29A5 #43A529
analogous
#4D29A5 #8B29A5 #A52981
triadic
#8B29A5 #A58B29 #29A58B
tetradic
#8B29A5 #A54D29 #43A529 #2981A5
square
#8B29A5 #A54D29 #43A529 #2981A5
split-complementary
#8B29A5 #81A529 #29A54D
monochromatic
#381143 #621D74 #8B29A5 #B03DCF #C46EDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B29A5#FFFFFF#000000##FFFFFF
##8B29A51.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)
#0052A8
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#8A4365
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b29a5;
/* rgb */ color: rgb(139, 41, 165);
/* oklch */ color: oklch(48.7% 0.197 318.2);
Tailwind
colors: {
  custom: {
    50: '#b16dc0',
    500: '#8b29a5',
    950: '#000000',
  },
}
SCSS
$custom: #8b29a5;
$custom-light: #b16dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b29a5",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 287.419,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48655,
    "c": 0.19704,
    "h": 318.2
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#8B29A5
secondary
#7BC268
accent
#E34466
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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