#8A579F#8A579F

#8A579F is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.2% C 0.122 H 315.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A579F
RGBrgb(138, 87, 159)
HSLhsl(283, 29%, 48%)
HSVhsv(283, 45%, 62%)
CMYKcmyk(13.2%, 45.3%, 0%, 37.6%)
CIE-LABlab(45.25, 34.10, -30.84)
CIE-LCHlch(45.25, 45.97, 317.87°)
OKLaboklab(54.2% 0.0868 -0.0854)
OKLCHoklch(54.2% 0.122 315.5)
XYZxyz(20.1465, 14.7234, 34.5748)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A579F #6C9F57
analogous
#66579F #8A579F #9F5790
triadic
#8A579F #9F8A57 #579F8A
tetradic
#8A579F #9F6657 #6C9F57 #57909F
square
#8A579F #9F6657 #6C9F57 #57909F
split-complementary
#8A579F #909F57 #579F66
monochromatic
#452C50 #684177 #8A579F #A67CB7 #C1A3CD

Accessibility & contrast

On white

5.32
#8A579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8A579F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A579F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A579F#FFFFFF#000000##FFFFFF
##8A579F1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A68A2
Deuteranopia (green-blind)
#576D9D
Tritanopia (blue-blind)
#896173
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a579f;
/* rgb */ color: rgb(138, 87, 159);
/* oklch */ color: oklch(54.2% 0.122 315.5);
Tailwind
colors: {
  custom: {
    50: '#ad88bb',
    500: '#8a579f',
    950: '#000000',
  },
}
SCSS
$custom: #8a579f;
$custom-light: #ad88bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a579f",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 282.5,
    "s": 29.268,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54199,
    "c": 0.12177,
    "h": 315.5
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#8A579F
secondary
#A2BB97
accent
#C6627F
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A579F

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

Preview Lab → · Contrast checker → · Palette generator →

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