#8A49B5#8A49B5

#8A49B5 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.170 H 309.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A49B5
RGBrgb(138, 73, 181)
HSLhsl(276, 43%, 50%)
HSVhsv(276, 60%, 71%)
CMYKcmyk(23.8%, 59.7%, 0%, 29%)
CIE-LABlab(43.51, 46.71, -46.58)
CIE-LCHlch(43.51, 65.97, 315.08°)
OKLaboklab(53.3% 0.1084 -0.1311)
OKLCHoklch(53.3% 0.17 309.6)
XYZxyz(21.2027, 13.5049, 45.1969)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49B5 #74B549
analogous
#5449B5 #8A49B5 #B549AA
triadic
#8A49B5 #B58A49 #49B58A
tetradic
#8A49B5 #B55449 #74B549 #49AAB5
square
#8A49B5 #B55449 #74B549 #49AAB5
split-complementary
#8A49B5 #AAB549 #49B554
monochromatic
#47265E #693789 #8A49B5 #A674C7 #C2A0D9

Accessibility & contrast

On white

5.67
#8A49B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A49B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49B5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49B5#FFFFFF#000000##FFFFFF
##8A49B51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2064B8
Deuteranopia (green-blind)
#3C68B2
Tritanopia (blue-blind)
#845D78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a49b5;
/* rgb */ color: rgb(138, 73, 181);
/* oklch */ color: oklch(53.3% 0.170 309.6);
Tailwind
colors: {
  custom: {
    50: '#af7fcc',
    500: '#8a49b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a49b5;
$custom-light: #af7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49b5",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 276.111,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.1701,
    "h": 309.6
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#8A49B5
secondary
#A8C594
accent
#D25587
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A49B5

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

Preview Lab → · Contrast checker → · Palette generator →

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