#8939C7#8939C7

#8939C7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.210 H 306.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8939C7
RGBrgb(137, 57, 199)
HSLhsl(274, 56%, 50%)
HSVhsv(274, 71%, 78%)
CMYKcmyk(31.2%, 71.4%, 0%, 22%)
CIE-LABlab(41.80, 58.28, -59.87)
CIE-LCHlch(41.80, 83.55, 314.23°)
OKLaboklab(52.42% 0.1238 -0.1701)
OKLCHoklch(52.42% 0.21 306.1)
XYZxyz(22.0862, 12.3683, 55.2456)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939C7 #77C739
analogous
#4239C7 #8939C7 #C739BE
triadic
#8939C7 #C78939 #39C789
tetradic
#8939C7 #C74239 #77C739 #39BEC7
square
#8939C7 #C74239 #77C739 #39BEC7
split-complementary
#8939C7 #BEC739 #39C742
monochromatic
#481D68 #682B98 #8939C7 #A569D4 #C298E2

Accessibility & contrast

On white

6.05
#8939C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8939C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939C7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939C7#FFFFFF#000000##FFFFFF
##8939C71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#7E5A7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8939c7;
/* rgb */ color: rgb(137, 57, 199);
/* oklch */ color: oklch(52.4% 0.210 306.1);
Tailwind
colors: {
  custom: {
    50: '#b176d9',
    500: '#8939c7',
    950: '#000000',
  },
}
SCSS
$custom: #8939c7;
$custom-light: #b176d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8939c7",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 273.803,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.21037,
    "h": 306.1
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#8939C7
secondary
#AACE8E
accent
#DF498A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8939C7

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

Preview Lab → · Contrast checker → · Palette generator →

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