#8A49CC#8A49CC

#8A49CC is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.196 H 303.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A49CC
RGBrgb(138, 73, 204)
HSLhsl(270, 56%, 54%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(32.4%, 64.2%, 0%, 20%)
CIE-LABlab(44.98, 52.13, -57.61)
CIE-LCHlch(44.98, 77.69, 312.14°)
OKLaboklab(54.83% 0.1075 -0.1635)
OKLCHoklch(54.83% 0.196 303.3)
XYZxyz(23.7604, 14.5280, 58.6675)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49CC #8BCC49
analogous
#494ACC #8A49CC #CC49CC
triadic
#8A49CC #CC8A49 #49CC8A
tetradic
#8A49CC #CC494A #8BCC49 #49CCCC
square
#8A49CC #CC494A #8BCC49 #49CCCC
split-complementary
#8A49CC #CCCC49 #4ACC49
monochromatic
#4D2279 #6B2FA9 #8A49CC #A979D9 #C7A9E7

Accessibility & contrast

On white

5.38
#8A49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8A49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49CC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49CC#FFFFFF#000000##FFFFFF
##8A49CC1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#1E6AC9
Tritanopia (blue-blind)
#7D6584
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a49cc;
/* rgb */ color: rgb(138, 73, 204);
/* oklch */ color: oklch(54.8% 0.196 303.3);
Tailwind
colors: {
  custom: {
    50: '#b180dc',
    500: '#8a49cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a49cc;
$custom-light: #b180dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49cc",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 269.771,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.19564,
    "h": 303.3
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#8A49CC
secondary
#B9D49D
accent
#E04894
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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