#8A49E4#8A49E4

#8A49E4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.222 H 298.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A49E4
RGBrgb(138, 73, 228)
HSLhsl(265, 74%, 59%)
HSVhsv(265, 68%, 89%)
CMYKcmyk(39.5%, 68%, 0%, 10.6%)
CIE-LABlab(46.67, 58.00, -68.59)
CIE-LCHlch(46.67, 89.82, 310.22°)
OKLaboklab(56.58% 0.1047 -0.1957)
OKLCHoklch(56.58% 0.222 298.1)
XYZxyz(26.8638, 15.7694, 75.0122)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49E4 #A3E449
analogous
#4956E4 #8A49E4 #D749E4
triadic
#8A49E4 #E48A49 #49E48A
tetradic
#8A49E4 #E44956 #A3E449 #49E4D7
square
#8A49E4 #E44956 #A3E449 #49E4D7
split-complementary
#8A49E4 #E4D749 #56E449
monochromatic
#4F179C #6A1FD1 #8A49E4 #AC7EEC #CFB4F4

Accessibility & contrast

On white

5.06
#8A49E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8A49E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49E4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49E4#FFFFFF#000000##FFFFFF
##8A49E41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#746E91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a49e4;
/* rgb */ color: rgb(138, 73, 228);
/* oklch */ color: oklch(56.6% 0.222 298.1);
Tailwind
colors: {
  custom: {
    50: '#b380ed',
    500: '#8a49e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a49e4;
$custom-light: #b380ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49e4",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 265.161,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.22199,
    "h": 298.1
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

primary
#8A49E4
secondary
#C9E3A6
accent
#F137A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8A49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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