#8A3688#8A3688

#8A3688 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.1% C 0.154 H 328.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A3688
RGBrgb(138, 54, 136)
HSLhsl(301, 44%, 38%)
HSVhsv(301, 61%, 54%)
CMYKcmyk(0%, 60.9%, 1.4%, 45.9%)
CIE-LABlab(37.52, 46.79, -29.09)
CIE-LCHlch(37.52, 55.10, 328.13°)
OKLaboklab(48.11% 0.1311 -0.0801)
OKLCHoklch(48.11% 0.154 328.6)
XYZxyz(16.2441, 9.8202, 24.3277)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3688 #368A38
analogous
#62368A #8A3688 #8A365E
triadic
#8A3688 #888A36 #36888A
tetradic
#8A3688 #8A6236 #368A38 #365E8A
square
#8A3688 #8A6236 #368A38 #365E8A
split-complementary
#8A3688 #5E8A36 #368A62
monochromatic
#321431 #5E255D #8A3688 #B647B3 #C872C6

Accessibility & contrast

On white

7.09
#8A3688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A3688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3688
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3688#FFFFFF#000000##FFFFFF
##8A36881.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518B
Deuteranopia (green-blind)
#4A5C86
Tritanopia (blue-blind)
#8E405A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3688;
/* rgb */ color: rgb(138, 54, 136);
/* oklch */ color: oklch(48.1% 0.154 328.6);
Tailwind
colors: {
  custom: {
    50: '#af73ab',
    500: '#8a3688',
    950: '#000000',
  },
}
SCSS
$custom: #8a3688;
$custom-light: #af73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3688",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 301.429,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.15363,
    "h": 328.6
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#8A3688
secondary
#6BB16D
accent
#D35754
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3688

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

Preview Lab → · Contrast checker → · Palette generator →

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