#8A49D5#8A49D5

#8A49D5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.206 H 301.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A49D5
RGBrgb(138, 73, 213)
HSLhsl(268, 63%, 56%)
HSVhsv(268, 66%, 84%)
CMYKcmyk(35.2%, 65.7%, 0%, 16.5%)
CIE-LABlab(45.60, 54.31, -61.78)
CIE-LCHlch(45.60, 82.26, 311.31°)
OKLaboklab(55.47% 0.1066 -0.1757)
OKLCHoklch(55.47% 0.206 301.2)
XYZxyz(24.8711, 14.9723, 64.5175)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49D5 #94D549
analogous
#494ED5 #8A49D5 #D049D5
triadic
#8A49D5 #D58A49 #49D58A
tetradic
#8A49D5 #D5494E #94D549 #49D5D0
square
#8A49D5 #D5494E #94D549 #49D5D0
split-complementary
#8A49D5 #D5D049 #4ED549
monochromatic
#4E1F85 #6B2AB7 #8A49D5 #AA7BE0 #CAACEC

Accessibility & contrast

On white

5.26
#8A49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8A49D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49D5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49D5#FFFFFF#000000##FFFFFF
##8A49D51.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#7A6989
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a49d5;
/* rgb */ color: rgb(138, 73, 213);
/* oklch */ color: oklch(55.5% 0.206 301.2);
Tailwind
colors: {
  custom: {
    50: '#b180e3',
    500: '#8a49d5',
    950: '#000000',
  },
}
SCSS
$custom: #8a49d5;
$custom-light: #b180e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49d5",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 267.857,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.20557,
    "h": 301.2
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#8A49D5
secondary
#BFDAA0
accent
#E6429A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8A49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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