#8A3FAE#8A3FAE

#8A3FAE is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.5% C 0.177 H 313.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A3FAE
RGBrgb(138, 63, 174)
HSLhsl(281, 47%, 46%)
HSVhsv(281, 64%, 68%)
CMYKcmyk(20.7%, 63.8%, 0%, 31.8%)
CIE-LABlab(41.24, 50.16, -46.09)
CIE-LCHlch(41.24, 68.13, 317.42°)
OKLaboklab(51.51% 0.1209 -0.1296)
OKLCHoklch(51.51% 0.177 313)
XYZxyz(19.8974, 12.0148, 41.3071)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FAE #63AE3F
analogous
#533FAE #8A3FAE #AE3F9B
triadic
#8A3FAE #AE8A3F #3FAE8A
tetradic
#8A3FAE #AE533F #63AE3F #3F9BAE
square
#8A3FAE #AE533F #63AE3F #3F9BAE
split-complementary
#8A3FAE #9BAE3F #3FAE53
monochromatic
#431E54 #662F81 #8A3FAE #A764C7 #C090D7

Accessibility & contrast

On white

6.17
#8A3FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A3FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FAE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FAE#FFFFFF#000000##FFFFFF
##8A3FAE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#3863AB
Tritanopia (blue-blind)
#865471
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a3fae;
/* rgb */ color: rgb(138, 63, 174);
/* oklch */ color: oklch(51.5% 0.177 313.0);
Tailwind
colors: {
  custom: {
    50: '#af79c7',
    500: '#8a3fae',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fae;
$custom-light: #af79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fae",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 280.541,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.17729,
    "h": 313
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#8A3FAE
secondary
#9AC287
accent
#D6517D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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