#8A3E83#8A3E83

#8A3E83 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.9% C 0.136 H 331.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A3E83
RGBrgb(138, 62, 131)
HSLhsl(306, 38%, 39%)
HSVhsv(306, 55%, 54%)
CMYKcmyk(0%, 55.1%, 5.1%, 45.9%)
CIE-LABlab(38.70, 42.00, -24.16)
CIE-LCHlch(38.70, 48.45, 330.09°)
OKLaboklab(48.9% 0.1193 -0.066)
OKLCHoklch(48.9% 0.136 331)
XYZxyz(16.3005, 10.4883, 22.6342)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E83 #3E8A45
analogous
#6B3E8A #8A3E83 #8A3E5D
triadic
#8A3E83 #838A3E #3E838A
tetradic
#8A3E83 #8A6B3E #3E8A45 #3E5D8A
square
#8A3E83 #8A6B3E #3E8A45 #3E5D8A
split-complementary
#8A3E83 #5D8A3E #3E8A6B
monochromatic
#361833 #602B5B #8A3E83 #B253A9 #C57EBE

Accessibility & contrast

On white

6.78
#8A3E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A3E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E83
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E83#FFFFFF#000000##FFFFFF
##8A3E831.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#8F445B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3e83;
/* rgb */ color: rgb(138, 62, 131);
/* oklch */ color: oklch(48.9% 0.136 331.0);
Tailwind
colors: {
  custom: {
    50: '#ae77a7',
    500: '#8a3e83',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e83;
$custom-light: #ae77a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e83",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 305.526,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.489,
    "c": 0.13637,
    "h": 331
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#8A3E83
secondary
#75AF7A
accent
#CE655A
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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