#8A3CA0#8A3CA0

#8A3CA0 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.3% C 0.167 H 318.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8A3CA0
RGBrgb(138, 60, 160)
HSLhsl(287, 45%, 43%)
HSVhsv(287, 63%, 63%)
CMYKcmyk(13.8%, 62.5%, 0%, 37.3%)
CIE-LABlab(39.87, 48.63, -39.93)
CIE-LCHlch(39.87, 62.93, 320.61°)
OKLaboklab(50.25% 0.1248 -0.1116)
OKLCHoklch(50.25% 0.167 318.2)
XYZxyz(18.4414, 11.1738, 34.4362)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CA0 #52A03C
analogous
#583CA0 #8A3CA0 #A03C84
triadic
#8A3CA0 #A08A3C #3CA08A
tetradic
#8A3CA0 #A0583C #52A03C #3C84A0
square
#8A3CA0 #A0583C #52A03C #3C84A0
split-complementary
#8A3CA0 #84A03C #3CA058
monochromatic
#3D1B47 #642B73 #8A3CA0 #AA59C1 #C185D1

Accessibility & contrast

On white

6.49
#8A3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A3CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CA0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CA0#FFFFFF#000000##FFFFFF
##8A3CA01.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#41609D
Tritanopia (blue-blind)
#8A4D68
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a3ca0;
/* rgb */ color: rgb(138, 60, 160);
/* oklch */ color: oklch(50.3% 0.167 318.2);
Tailwind
colors: {
  custom: {
    50: '#af77bc',
    500: '#8a3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ca0;
$custom-light: #af77bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ca0",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 286.8,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50251,
    "c": 0.16739,
    "h": 318.2
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#8A3CA0
secondary
#8ABB7C
accent
#D5536F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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