#8A29B1#8A29B1

#8A29B1 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.207 H 313.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A29B1
RGBrgb(138, 41, 177)
HSLhsl(283, 62%, 43%)
HSVhsv(283, 77%, 69%)
CMYKcmyk(22%, 76.8%, 0%, 30.6%)
CIE-LABlab(38.14, 60.08, -52.87)
CIE-LCHlch(38.14, 80.03, 318.65°)
OKLaboklab(49.36% 0.1438 -0.1494)
OKLCHoklch(49.36% 0.207 313.9)
XYZxyz(19.2086, 10.1641, 42.5365)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29B1 #50B129
analogous
#4629B1 #8A29B1 #B12994
triadic
#8A29B1 #B18A29 #29B18A
tetradic
#8A29B1 #B14629 #50B129 #2994B1
square
#8A29B1 #B14629 #50B129 #2994B1
split-complementary
#8A29B1 #94B129 #29B146
monochromatic
#3D124E #631D7F #8A29B1 #AA44D4 #C175DF

Accessibility & contrast

On white

6.92
#8A29B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A29B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29B1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29B1#FFFFFF#000000##FFFFFF
##8A29B11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#1D5CAE
Tritanopia (blue-blind)
#86486C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a29b1;
/* rgb */ color: rgb(138, 41, 177);
/* oklch */ color: oklch(49.4% 0.207 313.9);
Tailwind
colors: {
  custom: {
    50: '#b16ec9',
    500: '#8a29b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a29b1;
$custom-light: #b16ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29b1",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 282.794,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.20737,
    "h": 313.9
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#8A29B1
secondary
#88C76F
accent
#E54271
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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