#8A4FA0#8A4FA0

#8A4FA0 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.0% C 0.137 H 316.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A4FA0
RGBrgb(138, 79, 160)
HSLhsl(284, 34%, 47%)
HSVhsv(284, 51%, 63%)
CMYKcmyk(13.8%, 50.6%, 0%, 37.3%)
CIE-LABlab(43.56, 38.80, -34.10)
CIE-LCHlch(43.56, 51.65, 318.69°)
OKLaboklab(52.95% 0.0988 -0.0947)
OKLCHoklch(52.95% 0.137 316.2)
XYZxyz(19.6214, 13.5339, 34.8296)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FA0 #65A04F
analogous
#624FA0 #8A4FA0 #A04F8E
triadic
#8A4FA0 #A08A4F #4FA08A
tetradic
#8A4FA0 #A0624F #65A04F #4F8EA0
square
#8A4FA0 #A0624F #65A04F #4F8EA0
split-complementary
#8A4FA0 #8EA04F #4FA062
monochromatic
#43274E #673B77 #8A4FA0 #A673BA #C09CCE

Accessibility & contrast

On white

5.67
#8A4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8A4FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FA0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FA0#FFFFFF#000000##FFFFFF
##8A4FA01.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A3
Deuteranopia (green-blind)
#50699E
Tritanopia (blue-blind)
#895B70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4fa0;
/* rgb */ color: rgb(138, 79, 160);
/* oklch */ color: oklch(53.0% 0.137 316.2);
Tailwind
colors: {
  custom: {
    50: '#ae82bc',
    500: '#8a4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fa0;
$custom-light: #ae82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fa0",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 283.704,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.13689,
    "h": 316.2
  },
  "luminance": 0.13533
}

Semantic roles & 50–950 ramp

primary
#8A4FA0
secondary
#9CBB90
accent
#CA5E7B
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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