#8938AC#8938AC

#8938AC is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.185 H 313.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8938AC
RGBrgb(137, 56, 172)
HSLhsl(282, 51%, 45%)
HSVhsv(282, 67%, 67%)
CMYKcmyk(20.3%, 67.4%, 0%, 32.5%)
CIE-LABlab(39.79, 52.77, -47.24)
CIE-LCHlch(39.79, 70.82, 318.17°)
OKLaboklab(50.4% 0.128 -0.133)
OKLCHoklch(50.4% 0.185 313.9)
XYZxyz(19.1758, 11.1259, 40.1591)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938AC #5BAC38
analogous
#4F38AC #8938AC #AC3895
triadic
#8938AC #AC8938 #38AC89
tetradic
#8938AC #AC4F38 #5BAC38 #3895AC
square
#8938AC #AC4F38 #5BAC38 #3895AC
split-complementary
#8938AC #95AC38 #38AC4F
monochromatic
#3F1A50 #64297E #8938AC #A758C9 #BF87D8

Accessibility & contrast

On white

6.51
#8938AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8938AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938AC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938AC#FFFFFF#000000##FFFFFF
##8938AC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3260A9
Tritanopia (blue-blind)
#864F6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8938ac;
/* rgb */ color: rgb(137, 56, 172);
/* oklch */ color: oklch(50.4% 0.185 313.9);
Tailwind
colors: {
  custom: {
    50: '#af75c5',
    500: '#8938ac',
    950: '#000000',
  },
}
SCSS
$custom: #8938ac;
$custom-light: #af75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8938ac",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 281.897,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.504,
    "c": 0.18456,
    "h": 313.9
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#8938AC
secondary
#92C27E
accent
#DA4D78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8938AC

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

Preview Lab → · Contrast checker → · Palette generator →

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