#8A49E0#8A49E0

#8A49E0 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.218 H 298.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A49E0
RGBrgb(138, 73, 224)
HSLhsl(266, 71%, 58%)
HSVhsv(266, 67%, 88%)
CMYKcmyk(38.4%, 67.4%, 0%, 12.2%)
CIE-LABlab(46.38, 57.01, -66.79)
CIE-LCHlch(46.38, 87.81, 310.48°)
OKLaboklab(56.28% 0.1053 -0.1905)
OKLCHoklch(56.28% 0.218 298.9)
XYZxyz(26.3149, 15.5498, 72.1216)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49E0 #9FE049
analogous
#4953E0 #8A49E0 #D649E0
triadic
#8A49E0 #E08A49 #49E08A
tetradic
#8A49E0 #E04953 #9FE049 #49E0D6
square
#8A49E0 #E04953 #9FE049 #49E0D6
split-complementary
#8A49E0 #E0D649 #53E049
monochromatic
#4F1995 #6A22C9 #8A49E0 #AC7DE9 #CDB2F2

Accessibility & contrast

On white

5.11
#8A49E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8A49E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49E0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49E0#FFFFFF#000000##FFFFFF
##8A49E01.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#766D8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a49e0;
/* rgb */ color: rgb(138, 73, 224);
/* oklch */ color: oklch(56.3% 0.218 298.9);
Tailwind
colors: {
  custom: {
    50: '#b280eb',
    500: '#8a49e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a49e0;
$custom-light: #b280eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49e0",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 224
  },
  "hsl": {
    "h": 265.828,
    "s": 70.892,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.21763,
    "h": 298.9
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#8A49E0
secondary
#C7E0A4
accent
#EE3AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8A49E0

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

Preview Lab → · Contrast checker → · Palette generator →

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