#8A49BF#8A49BF

#8A49BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.181 H 306.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A49BF
RGBrgb(138, 73, 191)
HSLhsl(273, 48%, 52%)
HSVhsv(273, 62%, 75%)
CMYKcmyk(27.7%, 61.8%, 0%, 25.1%)
CIE-LABlab(44.13, 49.03, -51.44)
CIE-LCHlch(44.13, 71.06, 313.63°)
OKLaboklab(53.95% 0.1082 -0.1453)
OKLCHoklch(53.95% 0.181 306.7)
XYZxyz(22.2658, 13.9302, 50.7959)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49BF #7EBF49
analogous
#4F49BF #8A49BF #BF49B9
triadic
#8A49BF #BF8A49 #49BF8A
tetradic
#8A49BF #BF4F49 #7EBF49 #49B9BF
square
#8A49BF #BF4F49 #7EBF49 #49B9BF
split-complementary
#8A49BF #B9BF49 #49BF4F
monochromatic
#4A2569 #6A3596 #8A49BF #A776CF #C4A4DF

Accessibility & contrast

On white

5.55
#8A49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8A49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49BF#FFFFFF#000000##FFFFFF
##8A49BF1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#81617D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a49bf;
/* rgb */ color: rgb(138, 73, 191);
/* oklch */ color: oklch(53.9% 0.181 306.7);
Tailwind
colors: {
  custom: {
    50: '#b07fd3',
    500: '#8a49bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a49bf;
$custom-light: #b07fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49bf",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 273.051,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.18121,
    "h": 306.7
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#8A49BF
secondary
#AFCC98
accent
#D8508D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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