#8A49C7#8A49C7

#8A49C7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.190 H 304.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A49C7
RGBrgb(138, 73, 199)
HSLhsl(271, 53%, 53%)
HSVhsv(271, 63%, 78%)
CMYKcmyk(30.7%, 63.3%, 0%, 22%)
CIE-LABlab(44.65, 50.93, -55.25)
CIE-LCHlch(44.65, 75.14, 312.67°)
OKLaboklab(54.49% 0.1078 -0.1566)
OKLCHoklch(54.49% 0.19 304.6)
XYZxyz(23.1703, 14.2920, 55.5597)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49C7 #86C749
analogous
#4B49C7 #8A49C7 #C749C5
triadic
#8A49C7 #C78A49 #49C78A
tetradic
#8A49C7 #C74B49 #86C749 #49C5C7
square
#8A49C7 #C74B49 #86C749 #49C5C7
split-complementary
#8A49C7 #C5C749 #49C74B
monochromatic
#4C2372 #6B32A1 #8A49C7 #A878D5 #C6A7E4

Accessibility & contrast

On white

5.44
#8A49C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8A49C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49C7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49C7#FFFFFF#000000##FFFFFF
##8A49C71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#276AC4
Tritanopia (blue-blind)
#7F6481
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a49c7;
/* rgb */ color: rgb(138, 73, 199);
/* oklch */ color: oklch(54.5% 0.190 304.6);
Tailwind
colors: {
  custom: {
    50: '#b07fd9',
    500: '#8a49c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a49c7;
$custom-light: #b07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49c7",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 270.952,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.1901,
    "h": 304.6
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#8A49C7
secondary
#B5D19B
accent
#DC4B92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49C7

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

Preview Lab → · Contrast checker → · Palette generator →

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