#8A4FA3#8A4FA3

#8A4FA3 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.1% C 0.140 H 315.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A4FA3
RGBrgb(138, 79, 163)
HSLhsl(282, 35%, 47%)
HSVhsv(282, 52%, 64%)
CMYKcmyk(15.3%, 51.5%, 0%, 36.1%)
CIE-LABlab(43.71, 39.45, -35.64)
CIE-LCHlch(43.71, 53.16, 317.91°)
OKLaboklab(53.12% 0.0992 -0.0992)
OKLCHoklch(53.12% 0.14 315)
XYZxyz(19.8870, 13.6401, 36.2284)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FA3 #68A34F
analogous
#604FA3 #8A4FA3 #A34F92
triadic
#8A4FA3 #A38A4F #4FA38A
tetradic
#8A4FA3 #A3604F #68A34F #4F92A3
square
#8A4FA3 #A3604F #68A34F #4F92A3
split-complementary
#8A4FA3 #92A34F #4FA360
monochromatic
#442751 #673B7A #8A4FA3 #A674BB #C09DCF

Accessibility & contrast

On white

5.63
#8A4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FA3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FA3#FFFFFF#000000##FFFFFF
##8A4FA31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A6
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#885C71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4fa3;
/* rgb */ color: rgb(138, 79, 163);
/* oklch */ color: oklch(53.1% 0.140 315.0);
Tailwind
colors: {
  custom: {
    50: '#ae82be',
    500: '#8a4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fa3;
$custom-light: #ae82be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fa3",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 282.143,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.14028,
    "h": 315
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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