#8A3C85#8A3C85

#8A3C85 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.7% C 0.141 H 330.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A3C85
RGBrgb(138, 60, 133)
HSLhsl(304, 39%, 39%)
HSVhsv(304, 57%, 54%)
CMYKcmyk(0%, 56.5%, 3.6%, 45.9%)
CIE-LABlab(38.43, 43.36, -25.82)
CIE-LCHlch(38.43, 50.47, 329.23°)
OKLaboklab(48.73% 0.1225 -0.0707)
OKLCHoklch(48.73% 0.141 330)
XYZxyz(16.3306, 10.3295, 23.3194)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C85 #3C8A41
analogous
#683C8A #8A3C85 #8A3C5E
triadic
#8A3C85 #858A3C #3C858A
tetradic
#8A3C85 #8A683C #3C8A41 #3C5E8A
square
#8A3C85 #8A683C #3C8A41 #3C5E8A
split-complementary
#8A3C85 #5E8A3C #3C8A68
monochromatic
#351733 #5F295C #8A3C85 #B350AD #C67BC1

Accessibility & contrast

On white

6.85
#8A3C85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A3C85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C85
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C85#FFFFFF#000000##FFFFFF
##8A3C851.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#8F435B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3c85;
/* rgb */ color: rgb(138, 60, 133);
/* oklch */ color: oklch(48.7% 0.141 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae76a9',
    500: '#8a3c85',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c85;
$custom-light: #ae76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c85",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 303.846,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.14148,
    "h": 330
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#8A3C85
secondary
#73AF76
accent
#CF6059
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3C85

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

Preview Lab → · Contrast checker → · Palette generator →

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