#8A3FA0#8A3FA0

#8A3FA0 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 317.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A3FA0
RGBrgb(138, 63, 160)
HSLhsl(286, 43%, 44%)
HSVhsv(286, 61%, 63%)
CMYKcmyk(13.8%, 60.6%, 0%, 37.3%)
CIE-LABlab(40.41, 47.18, -39.08)
CIE-LCHlch(40.41, 61.26, 320.36°)
OKLaboklab(50.64% 0.1209 -0.1091)
OKLCHoklch(50.64% 0.163 317.9)
XYZxyz(18.6030, 11.4971, 34.4901)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FA0 #55A03F
analogous
#593FA0 #8A3FA0 #A03F85
triadic
#8A3FA0 #A08A3F #3FA08A
tetradic
#8A3FA0 #A0593F #55A03F #3F85A0
square
#8A3FA0 #A0593F #55A03F #3F85A0
split-complementary
#8A3FA0 #85A03F #3FA059
monochromatic
#3E1C48 #642E74 #8A3FA0 #A95DBF #C089D0

Accessibility & contrast

On white

6.37
#8A3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A3FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FA0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FA0#FFFFFF#000000##FFFFFF
##8A3FA01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA3
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#8A4F69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a3fa0;
/* rgb */ color: rgb(138, 63, 160);
/* oklch */ color: oklch(50.6% 0.163 317.9);
Tailwind
colors: {
  custom: {
    50: '#af78bc',
    500: '#8a3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fa0;
$custom-light: #af78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fa0",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 286.392,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.16289,
    "h": 317.9
  },
  "luminance": 0.11496
}

Semantic roles & 50–950 ramp

primary
#8A3FA0
secondary
#8DBB80
accent
#D35571
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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