#8A29B2#8A29B2

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

Color values

HEX#8A29B2
RGBrgb(138, 41, 178)
HSLhsl(282, 63%, 43%)
HSVhsv(282, 77%, 70%)
CMYKcmyk(22.5%, 77%, 0%, 30.2%)
CIE-LABlab(38.21, 60.28, -53.35)
CIE-LCHlch(38.21, 80.50, 318.49°)
OKLaboklab(49.43% 0.1437 -0.1508)
OKLCHoklch(49.43% 0.208 313.6)
XYZxyz(19.3086, 10.2041, 43.0633)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29B2 #51B229
analogous
#4629B2 #8A29B2 #B22995
triadic
#8A29B2 #B28A29 #29B28A
tetradic
#8A29B2 #B24629 #51B229 #2995B2
square
#8A29B2 #B24629 #51B229 #2995B2
split-complementary
#8A29B2 #95B229 #29B246
monochromatic
#3D124F #631E80 #8A29B2 #AA44D4 #C176DF

Accessibility & contrast

On white

6.91
#8A29B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A29B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29B2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29B2#FFFFFF#000000##FFFFFF
##8A29B21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#86496D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a29b2;
/* rgb */ color: rgb(138, 41, 178);
/* oklch */ color: oklch(49.4% 0.208 313.6);
Tailwind
colors: {
  custom: {
    50: '#b16eca',
    500: '#8a29b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a29b2;
$custom-light: #b16eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29b2",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 282.482,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.20827,
    "h": 313.6
  },
  "luminance": 0.10204
}

Semantic roles & 50–950 ramp

primary
#8A29B2
secondary
#89C770
accent
#E64272
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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