#8A49C2#8A49C2

#8A49C2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.185 H 305.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A49C2
RGBrgb(138, 73, 194)
HSLhsl(272, 50%, 52%)
HSVhsv(272, 62%, 76%)
CMYKcmyk(28.9%, 62.4%, 0%, 23.9%)
CIE-LABlab(44.32, 49.74, -52.88)
CIE-LCHlch(44.32, 72.59, 313.25°)
OKLaboklab(54.15% 0.1081 -0.1496)
OKLCHoklch(54.15% 0.185 305.9)
XYZxyz(22.5993, 14.0636, 52.5525)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49C2 #81C249
analogous
#4D49C2 #8A49C2 #C249BE
triadic
#8A49C2 #C28A49 #49C28A
tetradic
#8A49C2 #C24D49 #81C249 #49BEC2
square
#8A49C2 #C24D49 #81C249 #49BEC2
split-complementary
#8A49C2 #BEC249 #49C24D
monochromatic
#4B246C #6B349A #8A49C2 #A777D1 #C5A5E1

Accessibility & contrast

On white

5.51
#8A49C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8A49C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49C2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49C2#FFFFFF#000000##FFFFFF
##8A49C21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#80627F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a49c2;
/* rgb */ color: rgb(138, 73, 194);
/* oklch */ color: oklch(54.1% 0.185 305.9);
Tailwind
colors: {
  custom: {
    50: '#b07fd5',
    500: '#8a49c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a49c2;
$custom-light: #b07fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49c2",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 272.231,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.18454,
    "h": 305.9
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#8A49C2
secondary
#B1CE99
accent
#D94E8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A49C2

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

Preview Lab → · Contrast checker → · Palette generator →

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