#8A4FA9#8A4FA9

#8A4FA9 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.147 H 312.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A4FA9
RGBrgb(138, 79, 169)
HSLhsl(279, 36%, 49%)
HSVhsv(279, 53%, 66%)
CMYKcmyk(18.3%, 53.3%, 0%, 33.7%)
CIE-LABlab(44.03, 40.79, -38.69)
CIE-LCHlch(44.03, 56.22, 316.52°)
OKLaboklab(53.46% 0.0998 -0.1081)
OKLCHoklch(53.46% 0.147 312.7)
XYZxyz(20.4374, 13.8603, 39.1271)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FA9 #6EA94F
analogous
#5D4FA9 #8A4FA9 #A94F9B
triadic
#8A4FA9 #A98A4F #4FA98A
tetradic
#8A4FA9 #A95D4F #6EA94F #4F9BA9
square
#8A4FA9 #A95D4F #6EA94F #4F9BA9
split-complementary
#8A4FA9 #9BA94F #4FA95D
monochromatic
#462856 #683C7F #8A4FA9 #A676BF #C1A0D3

Accessibility & contrast

On white

5.57
#8A4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A4FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FA9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FA9#FFFFFF#000000##FFFFFF
##8A4FA91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#4B69A7
Tritanopia (blue-blind)
#875E74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4fa9;
/* rgb */ color: rgb(138, 79, 169);
/* oklch */ color: oklch(53.5% 0.147 312.7);
Tailwind
colors: {
  custom: {
    50: '#ae82c3',
    500: '#8a4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fa9;
$custom-light: #ae82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fa9",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 279.333,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.1471,
    "h": 312.7
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#8A4FA9
secondary
#A3C094
accent
#CC5C82
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8A4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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