#8A49BD#8A49BD

#8A49BD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.179 H 307.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A49BD
RGBrgb(138, 73, 189)
HSLhsl(274, 47%, 51%)
HSVhsv(274, 61%, 74%)
CMYKcmyk(27%, 61.4%, 0%, 25.9%)
CIE-LABlab(44.01, 48.57, -50.47)
CIE-LCHlch(44.01, 70.05, 313.90°)
OKLaboklab(53.82% 0.1083 -0.1425)
OKLCHoklch(53.82% 0.179 307.2)
XYZxyz(22.0472, 13.8427, 49.6447)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49BD #7CBD49
analogous
#5049BD #8A49BD #BD49B6
triadic
#8A49BD #BD8A49 #49BD8A
tetradic
#8A49BD #BD5049 #7CBD49 #49B6BD
square
#8A49BD #BD5049 #7CBD49 #49B6BD
split-complementary
#8A49BD #B6BD49 #49BD50
monochromatic
#4A2566 #6A3593 #8A49BD #A776CD #C4A3DE

Accessibility & contrast

On white

5.57
#8A49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A49BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49BD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49BD#FFFFFF#000000##FFFFFF
##8A49BD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C1
Deuteranopia (green-blind)
#3469BA
Tritanopia (blue-blind)
#82607C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a49bd;
/* rgb */ color: rgb(138, 73, 189);
/* oklch */ color: oklch(53.8% 0.179 307.2);
Tailwind
colors: {
  custom: {
    50: '#b07fd1',
    500: '#8a49bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a49bd;
$custom-light: #b07fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49bd",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 273.621,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.179,
    "h": 307.2
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#8A49BD
secondary
#AECA97
accent
#D6518C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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