#8A3B80#8A3B80

#8A3B80 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.3% C 0.139 H 332.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8A3B80
RGBrgb(138, 59, 128)
HSLhsl(308, 40%, 39%)
HSVhsv(308, 57%, 54%)
CMYKcmyk(0%, 57.2%, 7.2%, 45.9%)
CIE-LABlab(38.00, 42.96, -23.40)
CIE-LCHlch(38.00, 48.92, 331.43°)
OKLaboklab(48.34% 0.1231 -0.0638)
OKLCHoklch(48.34% 0.139 332.6)
XYZxyz(15.9415, 10.0908, 21.5260)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B80 #3B8A45
analogous
#6C3B8A #8A3B80 #8A3B58
triadic
#8A3B80 #808A3B #3B808A
tetradic
#8A3B80 #8A6C3B #3B8A45 #3B588A
square
#8A3B80 #8A6C3B #3B8A45 #3B588A
split-complementary
#8A3B80 #588A3B #3B8A6C
monochromatic
#341630 #5F2958 #8A3B80 #B44FA7 #C679BC

Accessibility & contrast

On white

6.96
#8A3B80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A3B80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B80
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B80#FFFFFF#000000##FFFFFF
##8A3B801.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395282
Deuteranopia (green-blind)
#515E7E
Tritanopia (blue-blind)
#904158
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3b80;
/* rgb */ color: rgb(138, 59, 128);
/* oklch */ color: oklch(48.3% 0.139 332.6);
Tailwind
colors: {
  custom: {
    50: '#ae75a5',
    500: '#8a3b80',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b80;
$custom-light: #ae75a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b80",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 128
  },
  "hsl": {
    "h": 307.595,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.13868,
    "h": 332.6
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#8A3B80
secondary
#71AF79
accent
#D06758
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3B80

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

Preview Lab → · Contrast checker → · Palette generator →

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