#8A29B4#8A29B4

#8A29B4 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.210 H 313.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A29B4
RGBrgb(138, 41, 180)
HSLhsl(282, 63%, 43%)
HSVhsv(282, 77%, 71%)
CMYKcmyk(23.3%, 77.2%, 0%, 29.4%)
CIE-LABlab(38.35, 60.69, -54.30)
CIE-LCHlch(38.35, 81.43, 318.18°)
OKLaboklab(49.58% 0.1433 -0.1536)
OKLCHoklch(49.58% 0.21 313)
XYZxyz(19.5109, 10.2850, 44.1286)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29B4 #53B429
analogous
#4529B4 #8A29B4 #B42998
triadic
#8A29B4 #B48A29 #29B48A
tetradic
#8A29B4 #B44529 #53B429 #2998B4
square
#8A29B4 #B44529 #53B429 #2998B4
split-complementary
#8A29B4 #98B429 #29B445
monochromatic
#3E1250 #641E82 #8A29B4 #A945D5 #C077E0

Accessibility & contrast

On white

6.87
#8A29B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A29B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29B4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29B4#FFFFFF#000000##FFFFFF
##8A29B41.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#175CB1
Tritanopia (blue-blind)
#854A6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a29b4;
/* rgb */ color: rgb(138, 41, 180);
/* oklch */ color: oklch(49.6% 0.210 313.0);
Tailwind
colors: {
  custom: {
    50: '#b16ecb',
    500: '#8a29b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a29b4;
$custom-light: #b16ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29b4",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 281.871,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.21007,
    "h": 313
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#8A29B4
secondary
#8BC871
accent
#E64273
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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