#8A3783#8A3783

#8A3783 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.0% C 0.148 H 331.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8A3783
RGBrgb(138, 55, 131)
HSLhsl(305, 43%, 38%)
HSVhsv(305, 60%, 54%)
CMYKcmyk(0%, 60.1%, 5.1%, 45.9%)
CIE-LABlab(37.44, 45.43, -26.14)
CIE-LCHlch(37.44, 52.41, 330.08°)
OKLaboklab(47.97% 0.1292 -0.0716)
OKLCHoklch(47.97% 0.148 331)
XYZxyz(15.9441, 9.7754, 22.5154)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3783 #378A3E
analogous
#67378A #8A3783 #8A375A
triadic
#8A3783 #838A37 #37838A
tetradic
#8A3783 #8A6737 #378A3E #375A8A
square
#8A3783 #8A6737 #378A3E #375A8A
split-complementary
#8A3783 #5A8A37 #378A67
monochromatic
#321430 #5E2659 #8A3783 #B648AD #C874C0

Accessibility & contrast

On white

7.11
#8A3783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A3783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3783
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3783#FFFFFF#000000##FFFFFF
##8A37831.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3783;
/* rgb */ color: rgb(138, 55, 131);
/* oklch */ color: oklch(48.0% 0.148 331.0);
Tailwind
colors: {
  custom: {
    50: '#af73a7',
    500: '#8a3783',
    950: '#000000',
  },
}
SCSS
$custom: #8a3783;
$custom-light: #af73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3783",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 305.06,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47969,
    "c": 0.14769,
    "h": 331
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#8A3783
secondary
#6DB072
accent
#D36055
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3783

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

Preview Lab → · Contrast checker → · Palette generator →

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