#8A49C5#8A49C5

#8A49C5 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.188 H 305.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A49C5
RGBrgb(138, 73, 197)
HSLhsl(271, 52%, 53%)
HSVhsv(271, 63%, 77%)
CMYKcmyk(29.9%, 62.9%, 0%, 22.7%)
CIE-LABlab(44.52, 50.45, -54.30)
CIE-LCHlch(44.52, 74.12, 312.89°)
OKLaboklab(54.35% 0.108 -0.1538)
OKLCHoklch(54.35% 0.188 305.1)
XYZxyz(22.9396, 14.1997, 54.3448)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49C5 #84C549
analogous
#4C49C5 #8A49C5 #C549C2
triadic
#8A49C5 #C58A49 #49C58A
tetradic
#8A49C5 #C54C49 #84C549 #49C2C5
square
#8A49C5 #C54C49 #84C549 #49C2C5
split-complementary
#8A49C5 #C2C549 #49C54C
monochromatic
#4C2470 #6B329E #8A49C5 #A877D4 #C6A6E3

Accessibility & contrast

On white

5.47
#8A49C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A49C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49C5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49C5#FFFFFF#000000##FFFFFF
##8A49C51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#2A69C2
Tritanopia (blue-blind)
#806380
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a49c5;
/* rgb */ color: rgb(138, 73, 197);
/* oklch */ color: oklch(54.4% 0.188 305.1);
Tailwind
colors: {
  custom: {
    50: '#b07fd7',
    500: '#8a49c5',
    950: '#000000',
  },
}
SCSS
$custom: #8a49c5;
$custom-light: #b07fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49c5",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 197
  },
  "hsl": {
    "h": 271.452,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.18788,
    "h": 305.1
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#8A49C5
secondary
#B4D09A
accent
#DB4D90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A49C5

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

Preview Lab → · Contrast checker → · Palette generator →

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