#8A479C#8A479C

#8A479C is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.5% C 0.146 H 318.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A479C
RGBrgb(138, 71, 156)
HSLhsl(287, 37%, 45%)
HSVhsv(287, 54%, 61%)
CMYKcmyk(11.5%, 54.5%, 0%, 38.8%)
CIE-LABlab(41.71, 42.25, -34.63)
CIE-LCHlch(41.71, 54.63, 320.67°)
OKLaboklab(51.52% 0.1098 -0.0962)
OKLCHoklch(51.52% 0.146 318.8)
XYZxyz(18.7344, 12.3108, 32.8354)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A479C #599C47
analogous
#60479C #8A479C #9C4784
triadic
#8A479C #9C8A47 #479C8A
tetradic
#8A479C #9C6047 #599C47 #47849C
square
#8A479C #9C6047 #599C47 #47849C
split-complementary
#8A479C #849C47 #479C60
monochromatic
#402148 #653472 #8A479C #A867BA #C091CD

Accessibility & contrast

On white

6.07
#8A479C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A479C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A479C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A479C#FFFFFF#000000##FFFFFF
##8A479C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#8A546B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a479c;
/* rgb */ color: rgb(138, 71, 156);
/* oklch */ color: oklch(51.5% 0.146 318.8);
Tailwind
colors: {
  custom: {
    50: '#ae7db9',
    500: '#8a479c',
    950: '#000000',
  },
}
SCSS
$custom: #8a479c;
$custom-light: #ae7db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a479c",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 287.294,
    "s": 37.445,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51519,
    "c": 0.146,
    "h": 318.8
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#8A479C
secondary
#91B886
accent
#CD5A73
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A479C

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

Preview Lab → · Contrast checker → · Palette generator →

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