#8A328E#8A328E

#8A328E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.165 H 326.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8A328E
RGBrgb(138, 50, 142)
HSLhsl(297, 48%, 38%)
HSVhsv(297, 65%, 56%)
CMYKcmyk(2.8%, 64.8%, 0%, 44.3%)
CIE-LABlab(37.19, 49.70, -33.29)
CIE-LCHlch(37.19, 59.82, 326.18°)
OKLaboklab(47.97% 0.1366 -0.0922)
OKLCHoklch(47.97% 0.165 326)
XYZxyz(16.5040, 9.6385, 26.5771)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A328E #368E32
analogous
#5C328E #8A328E #8E3264
triadic
#8A328E #8E8A32 #328E8A
tetradic
#8A328E #8E5C32 #368E32 #32648E
square
#8A328E #8E5C32 #368E32 #32648E
split-complementary
#8A328E #648E32 #328E5C
monochromatic
#321233 #5E2261 #8A328E #B642BB #C86ECC

Accessibility & contrast

On white

7.17
#8A328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A328E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A328E#FFFFFF#000000##FFFFFF
##8A328E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#455B8C
Tritanopia (blue-blind)
#8D3F5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a328e;
/* rgb */ color: rgb(138, 50, 142);
/* oklch */ color: oklch(48.0% 0.165 326.0);
Tailwind
colors: {
  custom: {
    50: '#af71af',
    500: '#8a328e',
    950: '#000000',
  },
}
SCSS
$custom: #8a328e;
$custom-light: #af71af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a328e",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 297.391,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.16484,
    "h": 326
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#8A328E
secondary
#6BB468
accent
#D85056
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A328E

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

Preview Lab → · Contrast checker → · Palette generator →

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