#8A49BE#8A49BE

#8A49BE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.180 H 306.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A49BE
RGBrgb(138, 73, 190)
HSLhsl(273, 47%, 52%)
HSVhsv(273, 62%, 75%)
CMYKcmyk(27.4%, 61.6%, 0%, 25.5%)
CIE-LABlab(44.07, 48.80, -50.96)
CIE-LCHlch(44.07, 70.55, 313.76°)
OKLaboklab(53.88% 0.1083 -0.1439)
OKLCHoklch(53.88% 0.18 306.9)
XYZxyz(22.1561, 13.8863, 50.2183)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49BE #7DBE49
analogous
#5049BE #8A49BE #BE49B8
triadic
#8A49BE #BE8A49 #49BE8A
tetradic
#8A49BE #BE5049 #7DBE49 #49B8BE
square
#8A49BE #BE5049 #7DBE49 #49B8BE
split-complementary
#8A49BE #B8BE49 #49BE50
monochromatic
#4A2568 #6A3595 #8A49BE #A776CE #C4A3DE

Accessibility & contrast

On white

5.56
#8A49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A49BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49BE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49BE#FFFFFF#000000##FFFFFF
##8A49BE1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B66C2
Deuteranopia (green-blind)
#3369BB
Tritanopia (blue-blind)
#82607D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a49be;
/* rgb */ color: rgb(138, 73, 190);
/* oklch */ color: oklch(53.9% 0.180 306.9);
Tailwind
colors: {
  custom: {
    50: '#b07fd2',
    500: '#8a49be',
    950: '#000000',
  },
}
SCSS
$custom: #8a49be;
$custom-light: #b07fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49be",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 273.333,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.1801,
    "h": 306.9
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#8A49BE
secondary
#AFCB98
accent
#D7518C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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