#8A3C87#8A3C87

#8A3C87 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.8% C 0.143 H 329.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A3C87
RGBrgb(138, 60, 135)
HSLhsl(302, 39%, 39%)
HSVhsv(302, 57%, 54%)
CMYKcmyk(0%, 56.5%, 2.2%, 45.9%)
CIE-LABlab(38.53, 43.73, -26.89)
CIE-LCHlch(38.53, 51.34, 328.41°)
OKLaboklab(48.83% 0.1228 -0.0738)
OKLCHoklch(48.83% 0.143 329)
XYZxyz(16.4701, 10.3853, 24.0540)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C87 #3C8A3F
analogous
#663C8A #8A3C87 #8A3C60
triadic
#8A3C87 #878A3C #3C878A
tetradic
#8A3C87 #8A663C #3C8A3F #3C608A
square
#8A3C87 #8A663C #3C8A3F #3C608A
split-complementary
#8A3C87 #608A3C #3C8A66
monochromatic
#351734 #5F295D #8A3C87 #B350AF #C67BC3

Accessibility & contrast

On white

6.83
#8A3C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A3C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C87
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C87#FFFFFF#000000##FFFFFF
##8A3C871.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#4E5E85
Tritanopia (blue-blind)
#8E445C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3c87;
/* rgb */ color: rgb(138, 60, 135);
/* oklch */ color: oklch(48.8% 0.143 329.0);
Tailwind
colors: {
  custom: {
    50: '#ae76aa',
    500: '#8a3c87',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c87;
$custom-light: #ae76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c87",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 302.308,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.14329,
    "h": 329
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#8A3C87
secondary
#73AF75
accent
#CF5D59
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3C87

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

Preview Lab → · Contrast checker → · Palette generator →

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