#8A3C8D#8A3C8D

#8A3C8D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.2% C 0.149 H 326.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A3C8D
RGBrgb(138, 60, 141)
HSLhsl(298, 40%, 39%)
HSVhsv(298, 57%, 55%)
CMYKcmyk(2.1%, 57.4%, 0%, 44.7%)
CIE-LABlab(38.83, 44.86, -30.09)
CIE-LCHlch(38.83, 54.02, 326.15°)
OKLaboklab(49.15% 0.1236 -0.083)
OKLCHoklch(49.15% 0.149 326.1)
XYZxyz(16.9045, 10.5590, 26.3418)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C8D #3F8D3C
analogous
#623C8D #8A3C8D #8D3C68
triadic
#8A3C8D #8D8A3C #3C8D8A
tetradic
#8A3C8D #8D623C #3F8D3C #3C688D
square
#8A3C8D #8D623C #3F8D3C #3C688D
split-complementary
#8A3C8D #688D3C #3C8D62
monochromatic
#361737 #602A62 #8A3C8D #B151B5 #C57CC7

Accessibility & contrast

On white

6.75
#8A3C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A3C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C8D
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C8D#FFFFFF#000000##FFFFFF
##8A3C8D1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325590
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#8D465F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3c8d;
/* rgb */ color: rgb(138, 60, 141);
/* oklch */ color: oklch(49.2% 0.149 326.1);
Tailwind
colors: {
  custom: {
    50: '#ae76ae',
    500: '#8a3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c8d;
$custom-light: #ae76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c8d",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 297.778,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.14887,
    "h": 326.1
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#8A3C8D
secondary
#76B174
accent
#D0585C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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