#8A3D83#8A3D83

#8A3D83 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.8% C 0.138 H 331.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A3D83
RGBrgb(138, 61, 131)
HSLhsl(305, 39%, 39%)
HSVhsv(305, 56%, 54%)
CMYKcmyk(0%, 55.8%, 5.1%, 45.9%)
CIE-LABlab(38.52, 42.50, -24.45)
CIE-LCHlch(38.52, 49.03, 330.09°)
OKLaboklab(48.76% 0.1208 -0.0668)
OKLCHoklch(48.76% 0.138 331)
XYZxyz(16.2466, 10.3805, 22.6162)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D83 #3D8A44
analogous
#6B3D8A #8A3D83 #8A3D5D
triadic
#8A3D83 #838A3D #3D838A
tetradic
#8A3D83 #8A6B3D #3D8A44 #3D5D8A
square
#8A3D83 #8A6B3D #3D8A44 #3D5D8A
split-complementary
#8A3D83 #5D8A3D #3D8A6B
monochromatic
#351732 #602A5B #8A3D83 #B252AA #C57CBF

Accessibility & contrast

On white

6.83
#8A3D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A3D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D83
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D83#FFFFFF#000000##FFFFFF
##8A3D831.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395485
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#8F445A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3d83;
/* rgb */ color: rgb(138, 61, 131);
/* oklch */ color: oklch(48.8% 0.138 331.0);
Tailwind
colors: {
  custom: {
    50: '#ae76a7',
    500: '#8a3d83',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d83;
$custom-light: #ae76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d83",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 305.455,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.13803,
    "h": 331
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#8A3D83
secondary
#74AF79
accent
#CF6459
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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