#8A49BA#8A49BA

#8A49BA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.176 H 308.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A49BA
RGBrgb(138, 73, 186)
HSLhsl(275, 45%, 51%)
HSVhsv(275, 61%, 73%)
CMYKcmyk(25.8%, 60.8%, 0%, 27.1%)
CIE-LABlab(43.82, 47.87, -49.02)
CIE-LCHlch(43.82, 68.52, 314.32°)
OKLaboklab(53.62% 0.1083 -0.1383)
OKLCHoklch(53.62% 0.176 308.1)
XYZxyz(21.7249, 13.7138, 47.9474)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49BA #79BA49
analogous
#5149BA #8A49BA #BA49B2
triadic
#8A49BA #BA8A49 #49BA8A
tetradic
#8A49BA #BA5149 #79BA49 #49B2BA
square
#8A49BA #BA5149 #79BA49 #49B2BA
split-complementary
#8A49BA #B2BA49 #49BA51
monochromatic
#492663 #6A368F #8A49BA #A775CB #C3A2DC

Accessibility & contrast

On white

5.61
#8A49BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A49BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49BA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49BA#FFFFFF#000000##FFFFFF
##8A49BA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#835F7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a49ba;
/* rgb */ color: rgb(138, 73, 186);
/* oklch */ color: oklch(53.6% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#af7fcf',
    500: '#8a49ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a49ba;
$custom-light: #af7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49ba",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 274.513,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.17566,
    "h": 308.1
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#8A49BA
secondary
#ACC896
accent
#D5538A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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