#8A4698#8A4698

#8A4698 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.1% C 0.143 H 320.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A4698
RGBrgb(138, 70, 152)
HSLhsl(290, 37%, 44%)
HSVhsv(290, 54%, 60%)
CMYKcmyk(9.2%, 53.9%, 0%, 40.4%)
CIE-LABlab(41.30, 41.95, -32.87)
CIE-LCHlch(41.30, 53.29, 321.92°)
OKLaboklab(51.15% 0.1108 -0.0911)
OKLCHoklch(51.15% 0.143 320.6)
XYZxyz(18.3382, 12.0514, 31.0599)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4698 #549846
analogous
#614698 #8A4698 #98467D
triadic
#8A4698 #988A46 #46988A
tetradic
#8A4698 #986146 #549846 #467D98
square
#8A4698 #986146 #549846 #467D98
split-complementary
#8A4698 #7D9846 #469861
monochromatic
#3E1F44 #64336E #8A4698 #A964B7 #C08ECB

Accessibility & contrast

On white

6.16
#8A4698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A4698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4698
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4698#FFFFFF#000000##FFFFFF
##8A46981.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9B
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#8B5268
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4698;
/* rgb */ color: rgb(138, 70, 152);
/* oklch */ color: oklch(51.1% 0.143 320.6);
Tailwind
colors: {
  custom: {
    50: '#ae7cb6',
    500: '#8a4698',
    950: '#000000',
  },
}
SCSS
$custom: #8a4698;
$custom-light: #ae7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4698",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 289.756,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.14345,
    "h": 320.6
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#8A4698
secondary
#8CB684
accent
#CD5B6E
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A4698

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

Preview Lab → · Contrast checker → · Palette generator →

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