#8A3A85#8A3A85

#8A3A85 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.5% C 0.145 H 330.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A3A85
RGBrgb(138, 58, 133)
HSLhsl(304, 41%, 38%)
HSVhsv(304, 58%, 54%)
CMYKcmyk(0%, 58%, 3.6%, 45.9%)
CIE-LABlab(38.06, 44.35, -26.39)
CIE-LCHlch(38.06, 51.60, 329.25°)
OKLaboklab(48.46% 0.1253 -0.0723)
OKLCHoklch(48.46% 0.145 330)
XYZxyz(16.2278, 10.1239, 23.2851)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A85 #3A8A3F
analogous
#673A8A #8A3A85 #8A3A5D
triadic
#8A3A85 #858A3A #3A858A
tetradic
#8A3A85 #8A673A #3A8A3F #3A5D8A
square
#8A3A85 #8A673A #3A8A3F #3A5D8A
split-complementary
#8A3A85 #5D8A3A #3A8A67
monochromatic
#341632 #5F285B #8A3A85 #B44DAE #C678C1

Accessibility & contrast

On white

6.94
#8A3A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A3A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A85
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A85#FFFFFF#000000##FFFFFF
##8A3A851.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355387
Deuteranopia (green-blind)
#4E5E83
Tritanopia (blue-blind)
#8F425A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3a85;
/* rgb */ color: rgb(138, 58, 133);
/* oklch */ color: oklch(48.5% 0.145 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae75a9',
    500: '#8a3a85',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a85;
$custom-light: #ae75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a85",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 303.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48461,
    "c": 0.14471,
    "h": 330
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#8A3A85
secondary
#70B074
accent
#D15F57
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3A85

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

Preview Lab → · Contrast checker → · Palette generator →

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