#8A49A5#8A49A5

#8A49A5 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.3% C 0.152 H 315.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A49A5
RGBrgb(138, 73, 165)
HSLhsl(282, 39%, 47%)
HSVhsv(282, 56%, 65%)
CMYKcmyk(16.4%, 55.8%, 0%, 35.3%)
CIE-LABlab(42.59, 43.13, -38.60)
CIE-LCHlch(42.59, 57.88, 318.17°)
OKLaboklab(52.33% 0.1078 -0.1078)
OKLCHoklch(52.33% 0.152 315)
XYZxyz(19.6542, 12.8856, 37.0418)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49A5 #64A549
analogous
#5C49A5 #8A49A5 #A54992
triadic
#8A49A5 #A58A49 #49A58A
tetradic
#8A49A5 #A55C49 #64A549 #4992A5
square
#8A49A5 #A55C49 #64A549 #4992A5
split-complementary
#8A49A5 #92A549 #49A55C
monochromatic
#432350 #67367B #8A49A5 #A66DBE #C097D1

Accessibility & contrast

On white

5.87
#8A49A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A49A5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49A5#FFFFFF#000000##FFFFFF
##8A49A51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#4866A3
Tritanopia (blue-blind)
#885870
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a49a5;
/* rgb */ color: rgb(138, 73, 165);
/* oklch */ color: oklch(52.3% 0.152 315.0);
Tailwind
colors: {
  custom: {
    50: '#ae7fc0',
    500: '#8a49a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a49a5;
$custom-light: #ae7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49a5",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 165
  },
  "hsl": {
    "h": 282.391,
    "s": 38.655,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.15244,
    "h": 315
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A49A5

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

Preview Lab → · Contrast checker → · Palette generator →

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