#8A479F#8A479F

#8A479F is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.7% C 0.149 H 317.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A479F
RGBrgb(138, 71, 159)
HSLhsl(286, 38%, 45%)
HSVhsv(286, 55%, 62%)
CMYKcmyk(13.2%, 55.3%, 0%, 37.6%)
CIE-LABlab(41.87, 42.89, -36.17)
CIE-LCHlch(41.87, 56.10, 319.86°)
OKLaboklab(51.69% 0.1101 -0.1007)
OKLCHoklch(51.69% 0.149 317.5)
XYZxyz(18.9916, 12.4136, 34.1898)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A479F #5C9F47
analogous
#5E479F #8A479F #9F4788
triadic
#8A479F #9F8A47 #479F8A
tetradic
#8A479F #9F5E47 #5C9F47 #47889F
square
#8A479F #9F5E47 #5C9F47 #47889F
split-complementary
#8A479F #889F47 #479F5E
monochromatic
#41214A #653475 #8A479F #A768BB #C092CE

Accessibility & contrast

On white

6.03
#8A479F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A479F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A479F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A479F#FFFFFF#000000##FFFFFF
##8A479F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA2
Deuteranopia (green-blind)
#4A659D
Tritanopia (blue-blind)
#8A556C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a479f;
/* rgb */ color: rgb(138, 71, 159);
/* oklch */ color: oklch(51.7% 0.149 317.5);
Tailwind
colors: {
  custom: {
    50: '#ae7dbc',
    500: '#8a479f',
    950: '#000000',
  },
}
SCSS
$custom: #8a479f;
$custom-light: #ae7dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a479f",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 285.682,
    "s": 38.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.1492,
    "h": 317.5
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#8A479F
secondary
#94BA88
accent
#CE5A75
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A479F

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

Preview Lab → · Contrast checker → · Palette generator →

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