#8A3C83#8A3C83

#8A3C83 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.6% C 0.140 H 331.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A3C83
RGBrgb(138, 60, 131)
HSLhsl(305, 39%, 39%)
HSVhsv(305, 57%, 54%)
CMYKcmyk(0%, 56.5%, 5.1%, 45.9%)
CIE-LABlab(38.33, 43.00, -24.74)
CIE-LCHlch(38.33, 49.61, 330.09°)
OKLaboklab(48.63% 0.1222 -0.0676)
OKLCHoklch(48.63% 0.14 331)
XYZxyz(16.1937, 10.2748, 22.5986)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C83 #3C8A43
analogous
#6A3C8A #8A3C83 #8A3C5C
triadic
#8A3C83 #838A3C #3C838A
tetradic
#8A3C83 #8A6A3C #3C8A43 #3C5C8A
square
#8A3C83 #8A6A3C #3C8A43 #3C5C8A
split-complementary
#8A3C83 #5C8A3C #3C8A6A
monochromatic
#351732 #5F295B #8A3C83 #B350AA #C67BBF

Accessibility & contrast

On white

6.87
#8A3C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A3C83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C83
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C83#FFFFFF#000000##FFFFFF
##8A3C831.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#8F435A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3c83;
/* rgb */ color: rgb(138, 60, 131);
/* oklch */ color: oklch(48.6% 0.140 331.0);
Tailwind
colors: {
  custom: {
    50: '#ae76a7',
    500: '#8a3c83',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c83;
$custom-light: #ae76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c83",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 305.385,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.13968,
    "h": 331
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#8A3C83
secondary
#73AF78
accent
#CF6359
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3C83

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

Preview Lab → · Contrast checker → · Palette generator →

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