#8A49C9#8A49C9

#8A49C9 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.192 H 304.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A49C9
RGBrgb(138, 73, 201)
HSLhsl(270, 54%, 54%)
HSVhsv(270, 64%, 79%)
CMYKcmyk(31.3%, 63.7%, 0%, 21.2%)
CIE-LABlab(44.78, 51.41, -56.20)
CIE-LCHlch(44.78, 76.16, 312.45°)
OKLaboklab(54.63% 0.1077 -0.1593)
OKLCHoklch(54.63% 0.192 304.1)
XYZxyz(23.4040, 14.3855, 56.7907)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49C9 #88C949
analogous
#4A49C9 #8A49C9 #C949C8
triadic
#8A49C9 #C98A49 #49C98A
tetradic
#8A49C9 #C94A49 #88C949 #49C8C9
square
#8A49C9 #C94A49 #88C949 #49C8C9
split-complementary
#8A49C9 #C8C949 #49C94A
monochromatic
#4C2375 #6B31A4 #8A49C9 #A878D7 #C7A7E5

Accessibility & contrast

On white

5.42
#8A49C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8A49C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49C9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49C9#FFFFFF#000000##FFFFFF
##8A49C91.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#246AC6
Tritanopia (blue-blind)
#7E6482
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a49c9;
/* rgb */ color: rgb(138, 73, 201);
/* oklch */ color: oklch(54.6% 0.192 304.1);
Tailwind
colors: {
  custom: {
    50: '#b07fda',
    500: '#8a49c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a49c9;
$custom-light: #b07fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49c9",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 201
  },
  "hsl": {
    "h": 270.469,
    "s": 54.237,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.19232,
    "h": 304.1
  },
  "luminance": 0.14385
}

Semantic roles & 50–950 ramp

primary
#8A49C9
secondary
#B6D29C
accent
#DE4A93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49C9

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

Preview Lab → · Contrast checker → · Palette generator →

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