#8A49C0#8A49C0

#8A49C0 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.182 H 306.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A49C0
RGBrgb(138, 73, 192)
HSLhsl(273, 49%, 52%)
HSVhsv(273, 62%, 75%)
CMYKcmyk(28.1%, 62%, 0%, 24.7%)
CIE-LABlab(44.20, 49.27, -51.92)
CIE-LCHlch(44.20, 71.57, 313.50°)
OKLaboklab(54.02% 0.1082 -0.1468)
OKLCHoklch(54.02% 0.182 306.4)
XYZxyz(22.3762, 13.9743, 51.3775)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49C0 #7FC049
analogous
#4F49C0 #8A49C0 #C049BB
triadic
#8A49C0 #C08A49 #49C08A
tetradic
#8A49C0 #C04F49 #7FC049 #49BBC0
square
#8A49C0 #C04F49 #7FC049 #49BBC0
split-complementary
#8A49C0 #BBC049 #49C04F
monochromatic
#4B256A #6A3497 #8A49C0 #A776D0 #C4A4DF

Accessibility & contrast

On white

5.53
#8A49C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8A49C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49C0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49C0#FFFFFF#000000##FFFFFF
##8A49C01.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C4
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#81617E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a49c0;
/* rgb */ color: rgb(138, 73, 192);
/* oklch */ color: oklch(54.0% 0.182 306.4);
Tailwind
colors: {
  custom: {
    50: '#b07fd4',
    500: '#8a49c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a49c0;
$custom-light: #b07fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49c0",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 192
  },
  "hsl": {
    "h": 272.773,
    "s": 48.571,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.18232,
    "h": 306.4
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#8A49C0
secondary
#B0CC98
accent
#D8508E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A49C0

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

Preview Lab → · Contrast checker → · Palette generator →

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