#8A49A6#8A49A6

#8A49A6 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.4% C 0.154 H 314.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A49A6
RGBrgb(138, 73, 166)
HSLhsl(282, 39%, 47%)
HSVhsv(282, 56%, 65%)
CMYKcmyk(16.9%, 56%, 0%, 34.9%)
CIE-LABlab(42.65, 43.35, -39.11)
CIE-LCHlch(42.65, 58.38, 317.94°)
OKLaboklab(52.39% 0.1079 -0.1093)
OKLCHoklch(52.39% 0.154 314.6)
XYZxyz(19.7456, 12.9221, 37.5231)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49A6 #65A649
analogous
#5B49A6 #8A49A6 #A64994
triadic
#8A49A6 #A68A49 #49A68A
tetradic
#8A49A6 #A65B49 #65A649 #4994A6
square
#8A49A6 #A65B49 #65A649 #4994A6
split-complementary
#8A49A6 #94A649 #49A65B
monochromatic
#432451 #67367B #8A49A6 #A66DBF #C098D2

Accessibility & contrast

On white

5.86
#8A49A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8A49A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49A6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49A6#FFFFFF#000000##FFFFFF
##8A49A61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#4766A4
Tritanopia (blue-blind)
#885870
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a49a6;
/* rgb */ color: rgb(138, 73, 166);
/* oklch */ color: oklch(52.4% 0.154 314.6);
Tailwind
colors: {
  custom: {
    50: '#ae7fc1',
    500: '#8a49a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a49a6;
$custom-light: #ae7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49a6",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 166
  },
  "hsl": {
    "h": 281.935,
    "s": 38.912,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.15354,
    "h": 314.6
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#8A49A6
secondary
#9CBE8D
accent
#CF597C
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A49A6

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

Preview Lab → · Contrast checker → · Palette generator →

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