#8A49D4#8A49D4

#8A49D4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.204 H 301.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A49D4
RGBrgb(138, 73, 212)
HSLhsl(268, 62%, 56%)
HSVhsv(268, 66%, 83%)
CMYKcmyk(34.9%, 65.6%, 0%, 16.9%)
CIE-LABlab(45.53, 54.06, -61.32)
CIE-LCHlch(45.53, 81.75, 311.40°)
OKLaboklab(55.4% 0.1067 -0.1744)
OKLCHoklch(55.4% 0.204 301.5)
XYZxyz(24.7446, 14.9217, 63.8511)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49D4 #93D449
analogous
#494DD4 #8A49D4 #D049D4
triadic
#8A49D4 #D48A49 #49D48A
tetradic
#8A49D4 #D4494D #93D449 #49D4D0
square
#8A49D4 #D4494D #93D449 #49D4D0
split-complementary
#8A49D4 #D4D049 #4DD449
monochromatic
#4E1F84 #6B2BB5 #8A49D4 #AA7BE0 #CAACEB

Accessibility & contrast

On white

5.27
#8A49D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8A49D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49D4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49D4#FFFFFF#000000##FFFFFF
##8A49D41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#026BD1
Tritanopia (blue-blind)
#7A6888
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a49d4;
/* rgb */ color: rgb(138, 73, 212);
/* oklch */ color: oklch(55.4% 0.204 301.5);
Tailwind
colors: {
  custom: {
    50: '#b180e2',
    500: '#8a49d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a49d4;
$custom-light: #b180e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49d4",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 268.058,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55401,
    "c": 0.20447,
    "h": 301.5
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#8A49D4
secondary
#BED9A0
accent
#E54399
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49D4

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

Preview Lab → · Contrast checker → · Palette generator →

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