#8A327C#8A327C

#8A327C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.0% C 0.149 H 334.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A327C
RGBrgb(138, 50, 124)
HSLhsl(310, 47%, 37%)
HSVhsv(310, 64%, 54%)
CMYKcmyk(0%, 63.8%, 10.1%, 45.9%)
CIE-LABlab(36.25, 46.52, -23.64)
CIE-LCHlch(36.25, 52.18, 333.06°)
OKLaboklab(46.99% 0.1349 -0.0644)
OKLCHoklch(46.99% 0.149 334.5)
XYZxyz(15.2600, 9.1409, 20.0255)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A327C #328A40
analogous
#6C328A #8A327C #8A3250
triadic
#8A327C #7C8A32 #327C8A
tetradic
#8A327C #8A6C32 #328A40 #32508A
square
#8A327C #8A6C32 #328A40 #32508A
split-complementary
#8A327C #508A32 #328A6C
monochromatic
#30112B #5D2254 #8A327C #B742A4 #CA6CBB

Accessibility & contrast

On white

7.43
#8A327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A327C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A327C#FFFFFF#000000##FFFFFF
##8A327C1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#903852
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a327c;
/* rgb */ color: rgb(138, 50, 124);
/* oklch */ color: oklch(47.0% 0.149 334.5);
Tailwind
colors: {
  custom: {
    50: '#af70a2',
    500: '#8a327c',
    950: '#000000',
  },
}
SCSS
$custom: #8a327c;
$custom-light: #af70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a327c",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 309.545,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46993,
    "c": 0.14946,
    "h": 334.5
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#8A327C
secondary
#66B272
accent
#D66751
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A327C

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

Preview Lab → · Contrast checker → · Palette generator →

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