#8A4FA4#8A4FA4

#8A4FA4 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.2% C 0.141 H 314.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A4FA4
RGBrgb(138, 79, 164)
HSLhsl(282, 35%, 48%)
HSVhsv(282, 52%, 64%)
CMYKcmyk(15.9%, 51.8%, 0%, 35.7%)
CIE-LABlab(43.76, 39.67, -36.15)
CIE-LCHlch(43.76, 53.67, 317.66°)
OKLaboklab(53.18% 0.0993 -0.1007)
OKLCHoklch(53.18% 0.141 314.6)
XYZxyz(19.9770, 13.6761, 36.7022)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FA4 #69A44F
analogous
#604FA4 #8A4FA4 #A44F93
triadic
#8A4FA4 #A48A4F #4FA48A
tetradic
#8A4FA4 #A4604F #69A44F #4F93A4
square
#8A4FA4 #A4604F #69A44F #4F93A4
split-complementary
#8A4FA4 #93A44F #4FA460
monochromatic
#442751 #673B7B #8A4FA4 #A674BC #C19DD0

Accessibility & contrast

On white

5.62
#8A4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A4FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FA4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FA4#FFFFFF#000000##FFFFFF
##8A4FA41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#885C72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4fa4;
/* rgb */ color: rgb(138, 79, 164);
/* oklch */ color: oklch(53.2% 0.141 314.6);
Tailwind
colors: {
  custom: {
    50: '#ae82bf',
    500: '#8a4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fa4;
$custom-light: #ae82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fa4",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 281.647,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.14141,
    "h": 314.6
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#8A4FA4
secondary
#9FBD92
accent
#CB5D7E
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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