#8B29A2#8B29A2

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

Color values

HEX#8B29A2
RGBrgb(139, 41, 162)
HSLhsl(289, 60%, 40%)
HSVhsv(289, 75%, 64%)
CMYKcmyk(14.2%, 74.7%, 0%, 36.5%)
CIE-LABlab(37.27, 57.31, -45.29)
CIE-LCHlch(37.27, 73.05, 321.68°)
OKLaboklab(48.45% 0.1471 -0.1271)
OKLCHoklch(48.45% 0.194 319.2)
XYZxyz(17.9611, 9.6844, 35.0986)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B29A2 #40A229
analogous
#4F29A2 #8B29A2 #A2297D
triadic
#8B29A2 #A28B29 #29A28B
tetradic
#8B29A2 #A24F29 #40A229 #297DA2
square
#8B29A2 #A24F29 #40A229 #297DA2
split-complementary
#8B29A2 #7DA229 #29A24F
monochromatic
#371040 #611D71 #8B29A2 #B23BCD #C56CDA

Accessibility & contrast

On white

7.15
#8B29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B29A2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B29A2#FFFFFF#000000##FFFFFF
##8B29A21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#8B4264
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b29a2;
/* rgb */ color: rgb(139, 41, 162);
/* oklch */ color: oklch(48.5% 0.194 319.2);
Tailwind
colors: {
  custom: {
    50: '#b16dbe',
    500: '#8b29a2',
    950: '#000000',
  },
}
SCSS
$custom: #8b29a2;
$custom-light: #b16dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8b29a2",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 288.595,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48452,
    "c": 0.19441,
    "h": 319.2
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#8B29A2
secondary
#78C067
accent
#E34563
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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