#8A3083#8A3083

#8A3083 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.1% C 0.158 H 331.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8A3083
RGBrgb(138, 48, 131)
HSLhsl(305, 48%, 36%)
HSVhsv(305, 65%, 54%)
CMYKcmyk(0%, 65.2%, 5.1%, 45.9%)
CIE-LABlab(36.28, 48.60, -27.94)
CIE-LCHlch(36.28, 56.06, 330.10°)
OKLaboklab(47.13% 0.1383 -0.0767)
OKLCHoklch(47.13% 0.158 331)
XYZxyz(15.6349, 9.1570, 22.4123)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3083 #308A37
analogous
#64308A #8A3083 #8A3056
triadic
#8A3083 #838A30 #30838A
tetradic
#8A3083 #8A6430 #308A37 #30568A
square
#8A3083 #8A6430 #308A37 #30568A
split-complementary
#8A3083 #568A30 #308A64
monochromatic
#2F102D #5D2058 #8A3083 #B740AE #CB69C3

Accessibility & contrast

On white

7.42
#8A3083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A3083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3083
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3083#FFFFFF#000000##FFFFFF
##8A30831.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#495A81
Tritanopia (blue-blind)
#8F3955
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3083;
/* rgb */ color: rgb(138, 48, 131);
/* oklch */ color: oklch(47.1% 0.158 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6fa7',
    500: '#8a3083',
    950: '#000000',
  },
}
SCSS
$custom: #8a3083;
$custom-light: #af6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3083",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 131
  },
  "hsl": {
    "h": 304.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.15815,
    "h": 331
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#8A3083
secondary
#64B26A
accent
#D85A50
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3083

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

Preview Lab → · Contrast checker → · Palette generator →

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