#8A49A8#8A49A8

#8A49A8 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.5% C 0.156 H 313.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A49A8
RGBrgb(138, 73, 168)
HSLhsl(281, 39%, 47%)
HSVhsv(281, 57%, 66%)
CMYKcmyk(17.9%, 56.5%, 0%, 34.1%)
CIE-LABlab(42.76, 43.79, -40.12)
CIE-LCHlch(42.76, 59.38, 317.50°)
OKLaboklab(52.5% 0.108 -0.1122)
OKLCHoklch(52.5% 0.156 313.9)
XYZxyz(19.9305, 12.9961, 38.4968)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49A8 #67A849
analogous
#5B49A8 #8A49A8 #A84996
triadic
#8A49A8 #A88A49 #49A88A
tetradic
#8A49A8 #A85B49 #67A849 #4996A8
square
#8A49A8 #A85B49 #67A849 #4996A8
split-complementary
#8A49A8 #96A849 #49A85B
monochromatic
#442453 #67367D #8A49A8 #A66EC0 #C099D3

Accessibility & contrast

On white

5.83
#8A49A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A49A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49A8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49A8#FFFFFF#000000##FFFFFF
##8A49A81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AB
Deuteranopia (green-blind)
#4667A6
Tritanopia (blue-blind)
#875971
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a49a8;
/* rgb */ color: rgb(138, 73, 168);
/* oklch */ color: oklch(52.5% 0.156 313.9);
Tailwind
colors: {
  custom: {
    50: '#af7fc2',
    500: '#8a49a8',
    950: '#000000',
  },
}
SCSS
$custom: #8a49a8;
$custom-light: #af7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49a8",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 168
  },
  "hsl": {
    "h": 281.053,
    "s": 39.419,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.15573,
    "h": 313.9
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#8A49A8
secondary
#9DBF8E
accent
#CF587E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A49A8

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

Preview Lab → · Contrast checker → · Palette generator →

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