#8A4699#8A4699

#8A4699 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.2% C 0.144 H 320.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A4699
RGBrgb(138, 70, 153)
HSLhsl(289, 37%, 44%)
HSVhsv(289, 54%, 60%)
CMYKcmyk(9.8%, 54.2%, 0%, 40%)
CIE-LABlab(41.35, 42.15, -33.39)
CIE-LCHlch(41.35, 53.77, 321.62°)
OKLaboklab(51.21% 0.1109 -0.0926)
OKLCHoklch(51.21% 0.144 320.1)
XYZxyz(18.4205, 12.0843, 31.4930)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4699 #559946
analogous
#604699 #8A4699 #99467E
triadic
#8A4699 #998A46 #46998A
tetradic
#8A4699 #996046 #559946 #467E99
square
#8A4699 #996046 #559946 #467E99
split-complementary
#8A4699 #7E9946 #469960
monochromatic
#3E2045 #64336F #8A4699 #A964B8 #C08ECB

Accessibility & contrast

On white

6.15
#8A4699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A4699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4699
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4699#FFFFFF#000000##FFFFFF
##8A46991.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#8B5269
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4699;
/* rgb */ color: rgb(138, 70, 153);
/* oklch */ color: oklch(51.2% 0.144 320.1);
Tailwind
colors: {
  custom: {
    50: '#ae7cb7',
    500: '#8a4699',
    950: '#000000',
  },
}
SCSS
$custom: #8a4699;
$custom-light: #ae7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4699",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 289.157,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.14449,
    "h": 320.1
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

primary
#8A4699
secondary
#8DB784
accent
#CD5B6F
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A4699

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

Preview Lab → · Contrast checker → · Palette generator →

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