#8A49D1#8A49D1

#8A49D1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.201 H 302.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A49D1
RGBrgb(138, 73, 209)
HSLhsl(269, 60%, 55%)
HSVhsv(269, 65%, 82%)
CMYKcmyk(34%, 65.1%, 0%, 18%)
CIE-LABlab(45.32, 53.33, -59.94)
CIE-LCHlch(45.32, 80.23, 311.66°)
OKLaboklab(55.19% 0.107 -0.1703)
OKLCHoklch(55.19% 0.201 302.1)
XYZxyz(24.3697, 14.7718, 61.8766)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49D1 #90D149
analogous
#494CD1 #8A49D1 #CE49D1
triadic
#8A49D1 #D18A49 #49D18A
tetradic
#8A49D1 #D1494C #90D149 #49D1CE
square
#8A49D1 #D1494C #90D149 #49D1CE
split-complementary
#8A49D1 #D1CE49 #4CD149
monochromatic
#4E207F #6B2DB0 #8A49D1 #A97ADD #C9ABEA

Accessibility & contrast

On white

5.31
#8A49D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8A49D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49D1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49D1#FFFFFF#000000##FFFFFF
##8A49D11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#106BCE
Tritanopia (blue-blind)
#7C6787
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a49d1;
/* rgb */ color: rgb(138, 73, 209);
/* oklch */ color: oklch(55.2% 0.201 302.1);
Tailwind
colors: {
  custom: {
    50: '#b180e0',
    500: '#8a49d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a49d1;
$custom-light: #b180e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49d1",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 268.676,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55186,
    "c": 0.20116,
    "h": 302.1
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#8A49D1
secondary
#BCD79E
accent
#E34597
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49D1

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

Preview Lab → · Contrast checker → · Palette generator →

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