#8A3F8A#8A3F8A

#8A3F8A is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.4% C 0.141 H 327.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A3F8A
RGBrgb(138, 63, 138)
HSLhsl(300, 37%, 39%)
HSVhsv(300, 54%, 54%)
CMYKcmyk(0%, 54.3%, 0%, 45.9%)
CIE-LABlab(39.23, 42.79, -27.63)
CIE-LCHlch(39.23, 50.93, 327.15°)
OKLaboklab(49.4% 0.119 -0.0759)
OKLCHoklch(49.4% 0.141 327.5)
XYZxyz(16.8459, 10.7942, 25.2360)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F8A #3F8A3F
analogous
#653F8A #8A3F8A #8A3F65
triadic
#8A3F8A #8A8A3F #3F8A8A
tetradic
#8A3F8A #8A653F #3F8A3F #3F658A
square
#8A3F8A #8A653F #3F8A3F #3F658A
split-complementary
#8A3F8A #658A3F #3F8A65
monochromatic
#361936 #602C60 #8A3F8A #B155B1 #C57FC5

Accessibility & contrast

On white

6.65
#8A3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A3F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F8A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F8A#FFFFFF#000000##FFFFFF
##8A3F8A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#8E475E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3f8a;
/* rgb */ color: rgb(138, 63, 138);
/* oklch */ color: oklch(49.4% 0.141 327.5);
Tailwind
colors: {
  custom: {
    50: '#ae78ac',
    500: '#8a3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f8a;
$custom-light: #ae78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f8a",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.14116,
    "h": 327.5
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#8A3F8A
secondary
#76AF76
accent
#CD5B5B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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