#8939D3#8939D3

#8939D3 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.222 H 303.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8939D3
RGBrgb(137, 57, 211)
HSLhsl(271, 64%, 53%)
HSVhsv(271, 73%, 83%)
CMYKcmyk(35.1%, 73%, 0%, 17.3%)
CIE-LABlab(42.68, 61.02, -65.37)
CIE-LCHlch(42.68, 89.42, 313.03°)
OKLaboklab(53.32% 0.1217 -0.1862)
OKLCHoklch(53.32% 0.222 303.2)
XYZxyz(23.5348, 12.9478, 62.8747)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939D3 #83D339
analogous
#3C39D3 #8939D3 #D339D0
triadic
#8939D3 #D38939 #39D389
tetradic
#8939D3 #D33C39 #83D339 #39D0D3
square
#8939D3 #D33C39 #83D339 #39D0D3
split-complementary
#8939D3 #D0D339 #39D33C
monochromatic
#4B1A77 #6A26A9 #8939D3 #A76BDE #C59DE9

Accessibility & contrast

On white

5.85
#8939D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8939D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939D3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939D3#FFFFFF#000000##FFFFFF
##8939D31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#7A5F83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8939d3;
/* rgb */ color: rgb(137, 57, 211);
/* oklch */ color: oklch(53.3% 0.222 303.2);
Tailwind
colors: {
  custom: {
    50: '#b177e1',
    500: '#8939d3',
    950: '#000000',
  },
}
SCSS
$custom: #8939d3;
$custom-light: #b177e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8939d3",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 271.169,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53324,
    "c": 0.22245,
    "h": 303.2
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#8939D3
secondary
#B3D592
accent
#E74191
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8939D3

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

Preview Lab → · Contrast checker → · Palette generator →

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