#8939D9#8939D9

#8939D9 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.228 H 301.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8939D9
RGBrgb(137, 57, 217)
HSLhsl(270, 68%, 54%)
HSVhsv(270, 74%, 85%)
CMYKcmyk(36.9%, 73.7%, 0%, 14.9%)
CIE-LABlab(43.14, 62.41, -68.06)
CIE-LCHlch(43.14, 92.35, 312.52°)
OKLaboklab(53.79% 0.1204 -0.1942)
OKLCHoklch(53.79% 0.228 301.8)
XYZxyz(24.3010, 13.2543, 66.9102)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939D9 #89D939
analogous
#3939D9 #8939D9 #D939D9
triadic
#8939D9 #D98939 #39D989
tetradic
#8939D9 #D93939 #89D939 #39D9D9
square
#8939D9 #D93939 #89D939 #39D9D9
split-complementary
#8939D9 #D9D939 #39D939
monochromatic
#4C187F #6A22B3 #8939D9 #A86CE3 #C6A0ED

Accessibility & contrast

On white

5.75
#8939D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8939D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939D9
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939D9#FFFFFF#000000##FFFFFF
##8939D91.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#786287
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8939d9;
/* rgb */ color: rgb(137, 57, 217);
/* oklch */ color: oklch(53.8% 0.228 301.8);
Tailwind
colors: {
  custom: {
    50: '#b277e6',
    500: '#8939d9',
    950: '#000000',
  },
}
SCSS
$custom: #8939d9;
$custom-light: #b277e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8939d9",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 270,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53792,
    "c": 0.22847,
    "h": 301.8
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#8939D9
secondary
#B7D995
accent
#EB3D94
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8939D9

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

Preview Lab → · Contrast checker → · Palette generator →

#8939D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva