#8A49B7#8A49B7

#8A49B7 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.172 H 309.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A49B7
RGBrgb(138, 73, 183)
HSLhsl(275, 43%, 50%)
HSVhsv(275, 60%, 72%)
CMYKcmyk(24.6%, 60.1%, 0%, 28.2%)
CIE-LABlab(43.64, 47.17, -47.56)
CIE-LCHlch(43.64, 66.99, 314.77°)
OKLaboklab(53.43% 0.1084 -0.134)
OKLCHoklch(53.43% 0.172 309)
XYZxyz(21.4093, 13.5876, 46.2854)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49B7 #76B749
analogous
#5349B7 #8A49B7 #B749AD
triadic
#8A49B7 #B78A49 #49B78A
tetradic
#8A49B7 #B75349 #76B749 #49ADB7
square
#8A49B7 #B75349 #76B749 #49ADB7
split-complementary
#8A49B7 #ADB749 #49B753
monochromatic
#482660 #69378C #8A49B7 #A675C8 #C2A1DA

Accessibility & contrast

On white

5.65
#8A49B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8A49B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49B7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49B7#FFFFFF#000000##FFFFFF
##8A49B71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C64BA
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#845E79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a49b7;
/* rgb */ color: rgb(138, 73, 183);
/* oklch */ color: oklch(53.4% 0.172 309.0);
Tailwind
colors: {
  custom: {
    50: '#af7fcd',
    500: '#8a49b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a49b7;
$custom-light: #af7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49b7",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 183
  },
  "hsl": {
    "h": 275.455,
    "s": 43.307,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.17232,
    "h": 309
  },
  "luminance": 0.13587
}

Semantic roles & 50–950 ramp

primary
#8A49B7
secondary
#A9C695
accent
#D35588
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A49B7

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

Preview Lab → · Contrast checker → · Palette generator →

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