#8A49E6#8A49E6

#8A49E6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.224 H 297.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A49E6
RGBrgb(138, 73, 230)
HSLhsl(265, 76%, 59%)
HSVhsv(265, 68%, 90%)
CMYKcmyk(40%, 68.3%, 0%, 9.8%)
CIE-LABlab(46.82, 58.50, -69.48)
CIE-LCHlch(46.82, 90.82, 310.09°)
OKLaboklab(56.73% 0.1044 -0.1984)
OKLCHoklch(56.73% 0.224 297.8)
XYZxyz(27.1430, 15.8811, 76.4829)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49E6 #A5E649
analogous
#4957E6 #8A49E6 #D949E6
triadic
#8A49E6 #E68A49 #49E68A
tetradic
#8A49E6 #E64957 #A5E649 #49E6D9
square
#8A49E6 #E64957 #A5E649 #49E6D9
split-complementary
#8A49E6 #E6D949 #57E649
monochromatic
#4F169F #691DD5 #8A49E6 #AD7FED #CFB5F5

Accessibility & contrast

On white

5.03
#8A49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8A49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49E6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49E6#FFFFFF#000000##FFFFFF
##8A49E61.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#736F92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a49e6;
/* rgb */ color: rgb(138, 73, 230);
/* oklch */ color: oklch(56.7% 0.224 297.8);
Tailwind
colors: {
  custom: {
    50: '#b380ef',
    500: '#8a49e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a49e6;
$custom-light: #b380ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49e6",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 264.841,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.22417,
    "h": 297.8
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#8A49E6
secondary
#CBE4A7
accent
#F235A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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