#8A49D6#8A49D6

#8A49D6 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.207 H 301.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A49D6
RGBrgb(138, 73, 214)
HSLhsl(268, 63%, 56%)
HSVhsv(268, 66%, 84%)
CMYKcmyk(35.5%, 65.9%, 0%, 16.1%)
CIE-LABlab(45.67, 54.55, -62.24)
CIE-LCHlch(45.67, 82.76, 311.23°)
OKLaboklab(55.55% 0.1065 -0.1771)
OKLCHoklch(55.55% 0.207 301)
XYZxyz(24.9984, 15.0233, 65.1881)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49D6 #95D649
analogous
#494FD6 #8A49D6 #D149D6
triadic
#8A49D6 #D68A49 #49D68A
tetradic
#8A49D6 #D6494F #95D649 #49D6D1
square
#8A49D6 #D6494F #95D649 #49D6D1
split-complementary
#8A49D6 #D6D149 #4FD649
monochromatic
#4E1E86 #6B2AB8 #8A49D6 #AA7BE1 #CAADED

Accessibility & contrast

On white

5.24
#8A49D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8A49D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49D6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49D6#FFFFFF#000000##FFFFFF
##8A49D61.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#7A6989
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a49d6;
/* rgb */ color: rgb(138, 73, 214);
/* oklch */ color: oklch(55.5% 0.207 301.0);
Tailwind
colors: {
  custom: {
    50: '#b180e3',
    500: '#8a49d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a49d6;
$custom-light: #b180e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49d6",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 214
  },
  "hsl": {
    "h": 267.66,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.20667,
    "h": 301
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#8A49D6
secondary
#C0DAA0
accent
#E6429A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8A49D6

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

Preview Lab → · Contrast checker → · Palette generator →

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