#8A49B6#8A49B6

#8A49B6 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.171 H 309.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A49B6
RGBrgb(138, 73, 182)
HSLhsl(276, 43%, 50%)
HSVhsv(276, 60%, 71%)
CMYKcmyk(24.2%, 59.9%, 0%, 28.6%)
CIE-LABlab(43.57, 46.94, -47.07)
CIE-LCHlch(43.57, 66.48, 314.92°)
OKLaboklab(53.36% 0.1084 -0.1325)
OKLCHoklch(53.36% 0.171 309.3)
XYZxyz(21.3056, 13.5461, 45.7392)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49B6 #75B649
analogous
#5449B6 #8A49B6 #B649AB
triadic
#8A49B6 #B68A49 #49B68A
tetradic
#8A49B6 #B65449 #75B649 #49ABB6
square
#8A49B6 #B65449 #75B649 #49ABB6
split-complementary
#8A49B6 #ABB649 #49B654
monochromatic
#48265F #69378A #8A49B6 #A675C8 #C2A0D9

Accessibility & contrast

On white

5.66
#8A49B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8A49B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49B6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49B6#FFFFFF#000000##FFFFFF
##8A49B61.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E64B9
Deuteranopia (green-blind)
#3B68B3
Tritanopia (blue-blind)
#845E78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a49b6;
/* rgb */ color: rgb(138, 73, 182);
/* oklch */ color: oklch(53.4% 0.171 309.3);
Tailwind
colors: {
  custom: {
    50: '#af7fcc',
    500: '#8a49b6',
    950: '#000000',
  },
}
SCSS
$custom: #8a49b6;
$custom-light: #af7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49b6",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 182
  },
  "hsl": {
    "h": 275.78,
    "s": 42.745,
    "l": 50
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.17122,
    "h": 309.3
  },
  "luminance": 0.13546
}

Semantic roles & 50–950 ramp

primary
#8A49B6
secondary
#A9C695
accent
#D35588
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A49B6

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

Preview Lab → · Contrast checker → · Palette generator →

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