#8A3883#8A3883

#8A3883 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.1% C 0.146 H 331.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A3883
RGBrgb(138, 56, 131)
HSLhsl(305, 42%, 38%)
HSVhsv(305, 59%, 54%)
CMYKcmyk(0%, 59.4%, 5.1%, 45.9%)
CIE-LABlab(37.61, 44.95, -25.86)
CIE-LCHlch(37.61, 51.86, 330.08°)
OKLaboklab(48.1% 0.1278 -0.0708)
OKLCHoklch(48.1% 0.146 331)
XYZxyz(15.9921, 9.8714, 22.5314)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3883 #388A3F
analogous
#68388A #8A3883 #8A385A
triadic
#8A3883 #838A38 #38838A
tetradic
#8A3883 #8A6838 #388A3F #385A8A
square
#8A3883 #8A6838 #388A3F #385A8A
split-complementary
#8A3883 #5A8A38 #388A68
monochromatic
#331530 #5E265A #8A3883 #B54AAC #C775C0

Accessibility & contrast

On white

7.06
#8A3883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A3883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3883
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3883#FFFFFF#000000##FFFFFF
##8A38831.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345185
Deuteranopia (green-blind)
#4E5D81
Tritanopia (blue-blind)
#8F3F58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3883;
/* rgb */ color: rgb(138, 56, 131);
/* oklch */ color: oklch(48.1% 0.146 331.0);
Tailwind
colors: {
  custom: {
    50: '#af74a7',
    500: '#8a3883',
    950: '#000000',
  },
}
SCSS
$custom: #8a3883;
$custom-light: #af74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3883",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 305.122,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.14613,
    "h": 331
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#8A3883
secondary
#6EB073
accent
#D26056
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3883

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

Preview Lab → · Contrast checker → · Palette generator →

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