#8A3F80#8A3F80

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

Color values

HEX#8A3F80
RGBrgb(138, 63, 128)
HSLhsl(308, 37%, 39%)
HSVhsv(308, 54%, 54%)
CMYKcmyk(0%, 54.3%, 7.2%, 45.9%)
CIE-LABlab(38.76, 40.95, -22.23)
CIE-LCHlch(38.76, 46.59, 331.50°)
OKLaboklab(48.89% 0.1173 -0.0605)
OKLCHoklch(48.89% 0.132 332.7)
XYZxyz(16.1550, 10.5179, 21.5971)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F80 #3F8A49
analogous
#6F3F8A #8A3F80 #8A3F5B
triadic
#8A3F80 #808A3F #3F808A
tetradic
#8A3F80 #8A6F3F #3F8A49 #3F5B8A
square
#8A3F80 #8A6F3F #3F8A49 #3F5B8A
split-complementary
#8A3F80 #5B8A3F #3F8A6F
monochromatic
#361932 #602C59 #8A3F80 #B155A5 #C57FBB

Accessibility & contrast

On white

6.77
#8A3F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3F80
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F80#FFFFFF#000000##FFFFFF
##8A3F801.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5482
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#8F445A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3f80;
/* rgb */ color: rgb(138, 63, 128);
/* oklch */ color: oklch(48.9% 0.132 332.7);
Tailwind
colors: {
  custom: {
    50: '#ae78a5',
    500: '#8a3f80',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f80;
$custom-light: #ae78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f80",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 308,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.13201,
    "h": 332.7
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#8A3F80
secondary
#76AF7E
accent
#CD6A5B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3F80

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

Preview Lab → · Contrast checker → · Palette generator →

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