#8A3288#8A3288

#8A3288 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.6% C 0.160 H 328.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A3288
RGBrgb(138, 50, 136)
HSLhsl(301, 47%, 37%)
HSVhsv(301, 64%, 54%)
CMYKcmyk(0%, 63.8%, 1.4%, 45.9%)
CIE-LABlab(36.86, 48.60, -30.12)
CIE-LCHlch(36.86, 57.18, 328.21°)
OKLaboklab(47.63% 0.1363 -0.083)
OKLCHoklch(47.63% 0.16 328.6)
XYZxyz(16.0656, 9.4631, 24.2682)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3288 #328A34
analogous
#60328A #8A3288 #8A325C
triadic
#8A3288 #888A32 #32888A
tetradic
#8A3288 #8A6032 #328A34 #325C8A
square
#8A3288 #8A6032 #328A34 #325C8A
split-complementary
#8A3288 #5C8A32 #328A60
monochromatic
#30112F #5D225C #8A3288 #B742B4 #CA6CC8

Accessibility & contrast

On white

7.26
#8A3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3288
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3288#FFFFFF#000000##FFFFFF
##8A32881.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8B
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#8F3D58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3288;
/* rgb */ color: rgb(138, 50, 136);
/* oklch */ color: oklch(47.6% 0.160 328.6);
Tailwind
colors: {
  custom: {
    50: '#af70ab',
    500: '#8a3288',
    950: '#000000',
  },
}
SCSS
$custom: #8a3288;
$custom-light: #af70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3288",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 301.364,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.15956,
    "h": 328.6
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#8A3288
secondary
#66B268
accent
#D65451
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3288

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

Preview Lab → · Contrast checker → · Palette generator →

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