#8A49B4#8A49B4

#8A49B4 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.169 H 309.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A49B4
RGBrgb(138, 73, 180)
HSLhsl(276, 42%, 50%)
HSVhsv(276, 59%, 71%)
CMYKcmyk(23.3%, 59.4%, 0%, 29.4%)
CIE-LABlab(43.45, 46.48, -46.09)
CIE-LCHlch(43.45, 65.46, 315.24°)
OKLaboklab(53.24% 0.1084 -0.1297)
OKLCHoklch(53.24% 0.169 309.9)
XYZxyz(21.1004, 13.4640, 44.6584)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49B4 #73B449
analogous
#5549B4 #8A49B4 #B449A8
triadic
#8A49B4 #B48A49 #49B48A
tetradic
#8A49B4 #B45549 #73B449 #49A8B4
square
#8A49B4 #B45549 #73B449 #49A8B4
split-complementary
#8A49B4 #A8B449 #49B455
monochromatic
#47265D #693788 #8A49B4 #A674C7 #C29FD8

Accessibility & contrast

On white

5.69
#8A49B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8A49B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49B4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49B4#FFFFFF#000000##FFFFFF
##8A49B41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B7
Deuteranopia (green-blind)
#3D68B1
Tritanopia (blue-blind)
#845D77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a49b4;
/* rgb */ color: rgb(138, 73, 180);
/* oklch */ color: oklch(53.2% 0.169 309.9);
Tailwind
colors: {
  custom: {
    50: '#af7fcb',
    500: '#8a49b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a49b4;
$custom-light: #af7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49b4",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 276.449,
    "s": 42.292,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.169,
    "h": 309.9
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#8A49B4
secondary
#A7C594
accent
#D25687
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A49B4

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

Preview Lab → · Contrast checker → · Palette generator →

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