#8A3F83#8A3F83

#8A3F83 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.0% C 0.135 H 331.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A3F83
RGBrgb(138, 63, 131)
HSLhsl(306, 37%, 39%)
HSVhsv(306, 54%, 54%)
CMYKcmyk(0%, 54.3%, 5.1%, 45.9%)
CIE-LABlab(38.90, 41.49, -23.86)
CIE-LCHlch(38.90, 47.86, 330.10°)
OKLaboklab(49.04% 0.1179 -0.0652)
OKLCHoklch(49.04% 0.135 331.1)
XYZxyz(16.3554, 10.5980, 22.6525)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F83 #3F8A46
analogous
#6C3F8A #8A3F83 #8A3F5E
triadic
#8A3F83 #838A3F #3F838A
tetradic
#8A3F83 #8A6C3F #3F8A46 #3F5E8A
square
#8A3F83 #8A6C3F #3F8A46 #3F5E8A
split-complementary
#8A3F83 #5E8A3F #3F8A6C
monochromatic
#361933 #602C5B #8A3F83 #B155A9 #C57FBE

Accessibility & contrast

On white

6.73
#8A3F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A3F83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F83
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F83#FFFFFF#000000##FFFFFF
##8A3F831.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5585
Deuteranopia (green-blind)
#525F81
Tritanopia (blue-blind)
#8F455B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3f83;
/* rgb */ color: rgb(138, 63, 131);
/* oklch */ color: oklch(49.0% 0.135 331.1);
Tailwind
colors: {
  custom: {
    50: '#ae78a7',
    500: '#8a3f83',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f83;
$custom-light: #ae78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f83",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 305.6,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.13469,
    "h": 331.1
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#8A3F83
secondary
#76AF7B
accent
#CD655B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3F83

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

Preview Lab → · Contrast checker → · Palette generator →

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