#8A327E#8A327E

#8A327E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.1% C 0.151 H 333.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8A327E
RGBrgb(138, 50, 126)
HSLhsl(308, 47%, 37%)
HSVhsv(308, 64%, 54%)
CMYKcmyk(0%, 63.8%, 8.7%, 45.9%)
CIE-LABlab(36.35, 46.86, -24.74)
CIE-LCHlch(36.35, 52.99, 332.17°)
OKLaboklab(47.1% 0.1352 -0.0675)
OKLCHoklch(47.1% 0.151 333.4)
XYZxyz(15.3878, 9.1920, 20.6984)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A327E #328A3E
analogous
#6A328A #8A327E #8A3252
triadic
#8A327E #7E8A32 #327E8A
tetradic
#8A327E #8A6A32 #328A3E #32528A
square
#8A327E #8A6A32 #328A3E #32528A
split-complementary
#8A327E #528A32 #328A6A
monochromatic
#30112C #5D2255 #8A327E #B742A7 #CA6CBD

Accessibility & contrast

On white

7.40
#8A327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A327E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A327E#FFFFFF#000000##FFFFFF
##8A327E1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#4D5A7C
Tritanopia (blue-blind)
#903953
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a327e;
/* rgb */ color: rgb(138, 50, 126);
/* oklch */ color: oklch(47.1% 0.151 333.4);
Tailwind
colors: {
  custom: {
    50: '#af70a3',
    500: '#8a327e',
    950: '#000000',
  },
}
SCSS
$custom: #8a327e;
$custom-light: #af70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a327e",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 308.182,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47096,
    "c": 0.15109,
    "h": 333.4
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#8A327E
secondary
#66B270
accent
#D66451
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A327E

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

Preview Lab → · Contrast checker → · Palette generator →

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