#8A3CA3#8A3CA3

#8A3CA3 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.4% C 0.170 H 317.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A3CA3
RGBrgb(138, 60, 163)
HSLhsl(285, 46%, 44%)
HSVhsv(285, 63%, 64%)
CMYKcmyk(15.3%, 63.2%, 0%, 36.1%)
CIE-LABlab(40.05, 49.26, -41.45)
CIE-LCHlch(40.05, 64.38, 319.92°)
OKLaboklab(50.44% 0.1248 -0.116)
OKLCHoklch(50.44% 0.17 317.1)
XYZxyz(18.7070, 11.2801, 35.8351)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CA3 #55A33C
analogous
#563CA3 #8A3CA3 #A33C88
triadic
#8A3CA3 #A38A3C #3CA38A
tetradic
#8A3CA3 #A3563C #55A33C #3C88A3
square
#8A3CA3 #A3563C #55A33C #3C88A3
split-complementary
#8A3CA3 #88A33C #3CA356
monochromatic
#3E1B4A #642C76 #8A3CA3 #A95AC2 #C087D3

Accessibility & contrast

On white

6.45
#8A3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A3CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CA3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CA3#FFFFFF#000000##FFFFFF
##8A3CA31.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A6
Deuteranopia (green-blind)
#3E61A0
Tritanopia (blue-blind)
#894E6A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a3ca3;
/* rgb */ color: rgb(138, 60, 163);
/* oklch */ color: oklch(50.4% 0.170 317.1);
Tailwind
colors: {
  custom: {
    50: '#af77bf',
    500: '#8a3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ca3;
$custom-light: #af77bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ca3",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 285.437,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.17039,
    "h": 317.1
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#8A3CA3
secondary
#8DBD7E
accent
#D65272
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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