#8A49C4#8A49C4

#8A49C4 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.187 H 305.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A49C4
RGBrgb(138, 73, 196)
HSLhsl(272, 51%, 53%)
HSVhsv(272, 63%, 77%)
CMYKcmyk(29.6%, 62.8%, 0%, 23.1%)
CIE-LABlab(44.45, 50.21, -53.83)
CIE-LCHlch(44.45, 73.61, 313.01°)
OKLaboklab(54.28% 0.108 -0.1524)
OKLCHoklch(54.28% 0.187 305.3)
XYZxyz(22.8254, 14.1540, 53.7434)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49C4 #83C449
analogous
#4C49C4 #8A49C4 #C449C1
triadic
#8A49C4 #C48A49 #49C48A
tetradic
#8A49C4 #C44C49 #83C449 #49C1C4
square
#8A49C4 #C44C49 #83C449 #49C1C4
split-complementary
#8A49C4 #C1C449 #49C44C
monochromatic
#4B246F #6B339D #8A49C4 #A877D3 #C5A5E2

Accessibility & contrast

On white

5.48
#8A49C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8A49C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49C4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49C4#FFFFFF#000000##FFFFFF
##8A49C41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#2C69C1
Tritanopia (blue-blind)
#806380
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a49c4;
/* rgb */ color: rgb(138, 73, 196);
/* oklch */ color: oklch(54.3% 0.187 305.3);
Tailwind
colors: {
  custom: {
    50: '#b07fd7',
    500: '#8a49c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a49c4;
$custom-light: #b07fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49c4",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 196
  },
  "hsl": {
    "h": 271.707,
    "s": 51.037,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.18676,
    "h": 305.3
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#8A49C4
secondary
#B3CF9A
accent
#DB4D90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A49C4

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

Preview Lab → · Contrast checker → · Palette generator →

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