#8A3082#8A3082

#8A3082 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.157 H 331.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A3082
RGBrgb(138, 48, 130)
HSLhsl(305, 48%, 36%)
HSVhsv(305, 65%, 54%)
CMYKcmyk(0%, 65.2%, 5.8%, 45.9%)
CIE-LABlab(36.23, 48.42, -27.40)
CIE-LCHlch(36.23, 55.64, 330.49°)
OKLaboklab(47.08% 0.1382 -0.0752)
OKLCHoklch(47.08% 0.157 331.5)
XYZxyz(15.5674, 9.1300, 22.0571)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3082 #308A38
analogous
#65308A #8A3082 #8A3055
triadic
#8A3082 #828A30 #30828A
tetradic
#8A3082 #8A6530 #308A38 #30558A
square
#8A3082 #8A6530 #308A38 #30558A
split-complementary
#8A3082 #558A30 #308A65
monochromatic
#2F102C #5D2057 #8A3082 #B740AD #CB69C2

Accessibility & contrast

On white

7.43
#8A3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3082
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3082#FFFFFF#000000##FFFFFF
##8A30821.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D84
Deuteranopia (green-blind)
#4A5A80
Tritanopia (blue-blind)
#903954
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3082;
/* rgb */ color: rgb(138, 48, 130);
/* oklch */ color: oklch(47.1% 0.157 331.5);
Tailwind
colors: {
  custom: {
    50: '#af6fa6',
    500: '#8a3082',
    950: '#000000',
  },
}
SCSS
$custom: #8a3082;
$custom-light: #af6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3082",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 305.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.15732,
    "h": 331.5
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#8A3082
secondary
#64B26B
accent
#D85C50
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3082

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

Preview Lab → · Contrast checker → · Palette generator →

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