#8A328B#8A328B

#8A328B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.162 H 327.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8A328B
RGBrgb(138, 50, 139)
HSLhsl(299, 47%, 37%)
HSVhsv(299, 64%, 55%)
CMYKcmyk(0.7%, 64%, 0%, 45.5%)
CIE-LABlab(37.02, 49.15, -31.71)
CIE-LCHlch(37.02, 58.49, 327.17°)
OKLaboklab(47.8% 0.1365 -0.0876)
OKLCHoklch(47.8% 0.162 327.3)
XYZxyz(16.2818, 9.5496, 25.4068)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A328B #338B32
analogous
#5E328B #8A328B #8B3260
triadic
#8A328B #8B8A32 #328B8A
tetradic
#8A328B #8B5E32 #338B32 #32608B
square
#8A328B #8B5E32 #338B32 #32608B
split-complementary
#8A328B #608B32 #328B5E
monochromatic
#311231 #5D225E #8A328B #B742B8 #C96DCA

Accessibility & contrast

On white

7.22
#8A328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A328B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A328B#FFFFFF#000000##FFFFFF
##8A328B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#465B89
Tritanopia (blue-blind)
#8E3E5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a328b;
/* rgb */ color: rgb(138, 50, 139);
/* oklch */ color: oklch(47.8% 0.162 327.3);
Tailwind
colors: {
  custom: {
    50: '#af71ad',
    500: '#8a328b',
    950: '#000000',
  },
}
SCSS
$custom: #8a328b;
$custom-light: #af71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a328b",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 299.326,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47801,
    "c": 0.16218,
    "h": 327.3
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#8A328B
secondary
#67B267
accent
#D75153
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A328B

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

Preview Lab → · Contrast checker → · Palette generator →

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