#8A29A2#8A29A2

#8A29A2 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.194 H 318.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8A29A2
RGBrgb(138, 41, 162)
HSLhsl(288, 60%, 40%)
HSVhsv(288, 75%, 64%)
CMYKcmyk(14.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(37.11, 57.11, -45.55)
CIE-LCHlch(37.11, 73.05, 321.42°)
OKLaboklab(48.31% 0.1459 -0.1279)
OKLCHoklch(48.31% 0.194 318.8)
XYZxyz(17.7949, 9.5986, 35.0908)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29A2 #41A229
analogous
#4D29A2 #8A29A2 #A2297E
triadic
#8A29A2 #A28A29 #29A28A
tetradic
#8A29A2 #A24D29 #41A229 #297EA2
square
#8A29A2 #A24D29 #41A229 #297EA2
split-complementary
#8A29A2 #7EA229 #29A24D
monochromatic
#371040 #601D71 #8A29A2 #B03BCD #C46CDA

Accessibility & contrast

On white

7.19
#8A29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A29A2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29A2#FFFFFF#000000##FFFFFF
##8A29A21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#305A9F
Tritanopia (blue-blind)
#8A4264
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a29a2;
/* rgb */ color: rgb(138, 41, 162);
/* oklch */ color: oklch(48.3% 0.194 318.8);
Tailwind
colors: {
  custom: {
    50: '#b06dbe',
    500: '#8a29a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a29a2;
$custom-light: #b06dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29a2",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 288.099,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.19401,
    "h": 318.8
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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