#8939B6#8939B6

#8939B6 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.193 H 310.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8939B6
RGBrgb(137, 57, 182)
HSLhsl(278, 52%, 47%)
HSVhsv(278, 69%, 71%)
CMYKcmyk(24.7%, 68.7%, 0%, 28.6%)
CIE-LABlab(40.61, 54.48, -51.84)
CIE-LCHlch(40.61, 75.20, 316.42°)
OKLaboklab(51.2% 0.1261 -0.1465)
OKLCHoklch(51.2% 0.193 310.7)
XYZxyz(20.2215, 11.6225, 45.4250)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939B6 #66B639
analogous
#4B39B6 #8939B6 #B639A5
triadic
#8939B6 #B68939 #39B689
tetradic
#8939B6 #B64B39 #66B639 #39A5B6
square
#8939B6 #B64B39 #66B639 #39A5B6
split-complementary
#8939B6 #A5B639 #39B64B
monochromatic
#431C59 #662A87 #8939B6 #A55FCD #C08EDC

Accessibility & contrast

On white

6.32
#8939B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8939B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939B6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939B6#FFFFFF#000000##FFFFFF
##8939B61.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#835373
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8939b6;
/* rgb */ color: rgb(137, 57, 182);
/* oklch */ color: oklch(51.2% 0.193 310.7);
Tailwind
colors: {
  custom: {
    50: '#af76cd',
    500: '#8939b6',
    950: '#000000',
  },
}
SCSS
$custom: #8939b6;
$custom-light: #af76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8939b6",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 278.4,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.19326,
    "h": 310.7
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#8939B6
secondary
#9CC685
accent
#DC4C80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8939B6

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

Preview Lab → · Contrast checker → · Palette generator →

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