#8A3583#8A3583

#8A3583 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.151 H 331.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8A3583
RGBrgb(138, 53, 131)
HSLhsl(305, 45%, 37%)
HSVhsv(305, 62%, 54%)
CMYKcmyk(0%, 61.6%, 5.1%, 45.9%)
CIE-LABlab(37.09, 46.36, -26.67)
CIE-LCHlch(37.09, 53.48, 330.09°)
OKLaboklab(47.72% 0.1319 -0.0731)
OKLCHoklch(47.72% 0.151 331)
XYZxyz(15.8510, 9.5893, 22.4844)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3583 #358A3C
analogous
#66358A #8A3583 #8A3559
triadic
#8A3583 #838A35 #35838A
tetradic
#8A3583 #8A6635 #358A3C #35598A
square
#8A3583 #8A6635 #358A3C #35598A
split-complementary
#8A3583 #598A35 #358A66
monochromatic
#32132F #5E2459 #8A3583 #B646AD #C871C1

Accessibility & contrast

On white

7.20
#8A3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3583
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3583#FFFFFF#000000##FFFFFF
##8A35831.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305085
Deuteranopia (green-blind)
#4C5C81
Tritanopia (blue-blind)
#8F3D57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3583;
/* rgb */ color: rgb(138, 53, 131);
/* oklch */ color: oklch(47.7% 0.151 331.0);
Tailwind
colors: {
  custom: {
    50: '#af72a7',
    500: '#8a3583',
    950: '#000000',
  },
}
SCSS
$custom: #8a3583;
$custom-light: #af72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3583",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 304.941,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.15078,
    "h": 331
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#8A3583
secondary
#6AB170
accent
#D45E54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3583

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

Preview Lab → · Contrast checker → · Palette generator →

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