#8938AB#8938AB

#8938AB is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.184 H 314.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8938AB
RGBrgb(137, 56, 171)
HSLhsl(282, 51%, 45%)
HSVhsv(282, 67%, 67%)
CMYKcmyk(19.9%, 67.3%, 0%, 32.9%)
CIE-LABlab(39.73, 52.56, -46.74)
CIE-LCHlch(39.73, 70.34, 318.35°)
OKLaboklab(50.33% 0.1281 -0.1315)
OKLCHoklch(50.33% 0.184 314.2)
XYZxyz(19.0802, 11.0876, 39.6552)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938AB #5AAB38
analogous
#5038AB #8938AB #AB3894
triadic
#8938AB #AB8938 #38AB89
tetradic
#8938AB #AB5038 #5AAB38 #3894AB
square
#8938AB #AB5038 #5AAB38 #3894AB
split-complementary
#8938AB #94AB38 #38AB50
monochromatic
#3F1A4F #64297D #8938AB #A758C8 #BF86D7

Accessibility & contrast

On white

6.53
#8938AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8938AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8938AB#FFFFFF#000000##FFFFFF
##8938AB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3360A8
Tritanopia (blue-blind)
#864F6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8938ab;
/* rgb */ color: rgb(137, 56, 171);
/* oklch */ color: oklch(50.3% 0.184 314.2);
Tailwind
colors: {
  custom: {
    50: '#af75c5',
    500: '#8938ab',
    950: '#000000',
  },
}
SCSS
$custom: #8938ab;
$custom-light: #af75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8938ab",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 282.261,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50333,
    "c": 0.18357,
    "h": 314.2
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#8938AB
secondary
#92C17D
accent
#DA4E77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8938AB

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

Preview Lab → · Contrast checker → · Palette generator →

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