#8938AE#8938AE

#8938AE is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.5% C 0.187 H 313.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8938AE
RGBrgb(137, 56, 174)
HSLhsl(281, 51%, 45%)
HSVhsv(281, 68%, 68%)
CMYKcmyk(21.3%, 67.8%, 0%, 31.8%)
CIE-LABlab(39.92, 53.20, -48.22)
CIE-LCHlch(39.92, 71.80, 317.81°)
OKLaboklab(50.53% 0.1279 -0.1358)
OKLCHoklch(50.53% 0.187 313.3)
XYZxyz(19.3694, 11.2033, 41.1783)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938AE #5DAE38
analogous
#4E38AE #8938AE #AE3898
triadic
#8938AE #AE8938 #38AE89
tetradic
#8938AE #AE4E38 #5DAE38 #3898AE
square
#8938AE #AE4E38 #5DAE38 #3898AE
split-complementary
#8938AE #98AE38 #38AE4E
monochromatic
#401A51 #652980 #8938AE #A759CA #BF88D9

Accessibility & contrast

On white

6.48
#8938AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8938AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938AE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938AE#FFFFFF#000000##FFFFFF
##8938AE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#3060AB
Tritanopia (blue-blind)
#85506E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8938ae;
/* rgb */ color: rgb(137, 56, 174);
/* oklch */ color: oklch(50.5% 0.187 313.3);
Tailwind
colors: {
  custom: {
    50: '#af75c7',
    500: '#8938ae',
    950: '#000000',
  },
}
SCSS
$custom: #8938ae;
$custom-light: #af75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8938ae",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 281.186,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.18655,
    "h": 313.3
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#8938AE
secondary
#94C37F
accent
#DB4D79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8938AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8938AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva