#8A328F#8A328F

#8A328F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.0% C 0.166 H 325.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A328F
RGBrgb(138, 50, 143)
HSLhsl(297, 48%, 38%)
HSVhsv(297, 65%, 56%)
CMYKcmyk(3.5%, 65%, 0%, 43.9%)
CIE-LABlab(37.24, 49.88, -33.82)
CIE-LCHlch(37.24, 60.26, 325.87°)
OKLaboklab(48.03% 0.1367 -0.0937)
OKLCHoklch(48.03% 0.166 325.6)
XYZxyz(16.5794, 9.6687, 26.9742)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A328F #378F32
analogous
#5B328F #8A328F #8F3265
triadic
#8A328F #8F8A32 #328F8A
tetradic
#8A328F #8F5B32 #378F32 #32658F
square
#8A328F #8F5B32 #378F32 #32658F
split-complementary
#8A328F #658F32 #328F5B
monochromatic
#321234 #5E2262 #8A328F #B642BC #C86FCD

Accessibility & contrast

On white

7.16
#8A328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A328F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A328F#FFFFFF#000000##FFFFFF
##8A328F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#445B8D
Tritanopia (blue-blind)
#8D3F5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a328f;
/* rgb */ color: rgb(138, 50, 143);
/* oklch */ color: oklch(48.0% 0.166 325.6);
Tailwind
colors: {
  custom: {
    50: '#af71b0',
    500: '#8a328f',
    950: '#000000',
  },
}
SCSS
$custom: #8a328f;
$custom-light: #af71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a328f",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 296.774,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.16574,
    "h": 325.6
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#8A328F
secondary
#6DB468
accent
#D85057
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A328F

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

Preview Lab → · Contrast checker → · Palette generator →

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