#8A3FA9#8A3FA9

#8A3FA9 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.172 H 314.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A3FA9
RGBrgb(138, 63, 169)
HSLhsl(282, 46%, 45%)
HSVhsv(282, 63%, 66%)
CMYKcmyk(18.3%, 62.7%, 0%, 33.7%)
CIE-LABlab(40.93, 49.08, -43.62)
CIE-LCHlch(40.93, 65.66, 318.37°)
OKLaboklab(51.19% 0.121 -0.1224)
OKLCHoklch(51.19% 0.172 314.7)
XYZxyz(19.4190, 11.8235, 38.7876)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FA9 #5EA93F
analogous
#553FA9 #8A3FA9 #A93F93
triadic
#8A3FA9 #A98A3F #3FA98A
tetradic
#8A3FA9 #A9553F #5EA93F #3F93A9
square
#8A3FA9 #A9553F #5EA93F #3F93A9
split-complementary
#8A3FA9 #93A93F #3FA955
monochromatic
#411E50 #662E7C #8A3FA9 #A761C4 #C08ED5

Accessibility & contrast

On white

6.24
#8A3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A3FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FA9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FA9#FFFFFF#000000##FFFFFF
##8A3FA91.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#88526E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a3fa9;
/* rgb */ color: rgb(138, 63, 169);
/* oklch */ color: oklch(51.2% 0.172 314.7);
Tailwind
colors: {
  custom: {
    50: '#af79c3',
    500: '#8a3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fa9;
$custom-light: #af79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fa9",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 282.453,
    "s": 45.69,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.17212,
    "h": 314.7
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#8A3FA9
secondary
#96C084
accent
#D55279
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8A3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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