#8A3983#8A3983

#8A3983 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.2% C 0.145 H 331.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A3983
RGBrgb(138, 57, 131)
HSLhsl(305, 42%, 38%)
HSVhsv(305, 59%, 54%)
CMYKcmyk(0%, 58.7%, 5.1%, 45.9%)
CIE-LABlab(37.79, 44.47, -25.59)
CIE-LCHlch(37.79, 51.31, 330.08°)
OKLaboklab(48.23% 0.1264 -0.07)
OKLCHoklch(48.23% 0.145 331)
XYZxyz(16.0410, 9.9693, 22.5477)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3983 #398A40
analogous
#68398A #8A3983 #8A395A
triadic
#8A3983 #838A39 #39838A
tetradic
#8A3983 #8A6839 #398A40 #395A8A
square
#8A3983 #8A6839 #398A40 #395A8A
split-complementary
#8A3983 #5A8A39 #398A68
monochromatic
#331531 #5F275A #8A3983 #B54BAC #C777C0

Accessibility & contrast

On white

7.01
#8A3983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A3983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3983
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3983#FFFFFF#000000##FFFFFF
##8A39831.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#4E5D81
Tritanopia (blue-blind)
#8F4058
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3983;
/* rgb */ color: rgb(138, 57, 131);
/* oklch */ color: oklch(48.2% 0.145 331.0);
Tailwind
colors: {
  custom: {
    50: '#ae74a7',
    500: '#8a3983',
    950: '#000000',
  },
}
SCSS
$custom: #8a3983;
$custom-light: #ae74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3983",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 305.185,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.14454,
    "h": 331
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

primary
#8A3983
secondary
#6FB075
accent
#D16156
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3983

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

Preview Lab → · Contrast checker → · Palette generator →

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