#8A3CA9#8A3CA9

#8A3CA9 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.8% C 0.176 H 315.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A3CA9
RGBrgb(138, 60, 169)
HSLhsl(283, 48%, 45%)
HSVhsv(283, 64%, 66%)
CMYKcmyk(18.3%, 64.5%, 0%, 33.7%)
CIE-LABlab(40.41, 50.52, -44.45)
CIE-LCHlch(40.41, 67.29, 318.65°)
OKLaboklab(50.81% 0.1247 -0.1248)
OKLCHoklch(50.81% 0.176 315)
XYZxyz(19.2574, 11.5002, 38.7338)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CA9 #5BA93C
analogous
#543CA9 #8A3CA9 #A93C91
triadic
#8A3CA9 #A98A3C #3CA98A
tetradic
#8A3CA9 #A9543C #5BA93C #3C91A9
square
#8A3CA9 #A9543C #5BA93C #3C91A9
split-complementary
#8A3CA9 #91A93C #3CA954
monochromatic
#401C4F #652C7C #8A3CA9 #A85DC5 #C08AD5

Accessibility & contrast

On white

6.36
#8A3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3CA9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CA9#FFFFFF#000000##FFFFFF
##8A3CA91.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#3A61A6
Tritanopia (blue-blind)
#88506D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a3ca9;
/* rgb */ color: rgb(138, 60, 169);
/* oklch */ color: oklch(50.8% 0.176 315.0);
Tailwind
colors: {
  custom: {
    50: '#af77c3',
    500: '#8a3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ca9;
$custom-light: #af77c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ca9",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 282.936,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.17644,
    "h": 315
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#8A3CA9
secondary
#93C081
accent
#D75177
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8A3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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