#8938AA#8938AA

#8938AA is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.183 H 314.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8938AA
RGBrgb(137, 56, 170)
HSLhsl(283, 50%, 44%)
HSVhsv(283, 67%, 67%)
CMYKcmyk(19.4%, 67.1%, 0%, 33.3%)
CIE-LABlab(39.66, 52.35, -46.25)
CIE-LCHlch(39.66, 69.85, 318.54°)
OKLaboklab(50.27% 0.1281 -0.1301)
OKLCHoklch(50.27% 0.183 314.6)
XYZxyz(18.9852, 11.0496, 39.1551)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938AA #59AA38
analogous
#5038AA #8938AA #AA3892
triadic
#8938AA #AA8938 #38AA89
tetradic
#8938AA #AA5038 #59AA38 #3892AA
square
#8938AA #AA5038 #59AA38 #3892AA
split-complementary
#8938AA #92AA38 #38AA50
monochromatic
#3F1A4E #64297C #8938AA #A757C8 #BF85D7

Accessibility & contrast

On white

6.54
#8938AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8938AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8938AA#FFFFFF#000000##FFFFFF
##8938AA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#3460A7
Tritanopia (blue-blind)
#864E6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8938aa;
/* rgb */ color: rgb(137, 56, 170);
/* oklch */ color: oklch(50.3% 0.183 314.6);
Tailwind
colors: {
  custom: {
    50: '#af75c4',
    500: '#8938aa',
    950: '#000000',
  },
}
SCSS
$custom: #8938aa;
$custom-light: #af75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8938aa",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 282.632,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.18258,
    "h": 314.6
  },
  "luminance": 0.11049
}

Semantic roles & 50–950 ramp

primary
#8938AA
secondary
#91C17D
accent
#DA4E76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8938AA

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

Preview Lab → · Contrast checker → · Palette generator →

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