#8939C4#8939C4

#8939C4 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.207 H 306.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8939C4
RGBrgb(137, 57, 196)
HSLhsl(275, 55%, 50%)
HSVhsv(275, 71%, 77%)
CMYKcmyk(30.1%, 70.9%, 0%, 23.1%)
CIE-LABlab(41.58, 57.60, -58.47)
CIE-LCHlch(41.58, 82.08, 314.57°)
OKLaboklab(52.2% 0.1243 -0.166)
OKLCHoklch(52.2% 0.207 306.8)
XYZxyz(21.7413, 12.2304, 53.4292)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939C4 #74C439
analogous
#4339C4 #8939C4 #C439BA
triadic
#8939C4 #C48939 #39C489
tetradic
#8939C4 #C44339 #74C439 #39BAC4
square
#8939C4 #C44339 #74C439 #39BAC4
split-complementary
#8939C4 #BAC439 #39C443
monochromatic
#471D65 #682B95 #8939C4 #A567D3 #C197E1

Accessibility & contrast

On white

6.09
#8939C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8939C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939C4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939C4#FFFFFF#000000##FFFFFF
##8939C41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0463C1
Tritanopia (blue-blind)
#7F597B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8939c4;
/* rgb */ color: rgb(137, 57, 196);
/* oklch */ color: oklch(52.2% 0.207 306.8);
Tailwind
colors: {
  custom: {
    50: '#b076d7',
    500: '#8939c4',
    950: '#000000',
  },
}
SCSS
$custom: #8939c4;
$custom-light: #b076d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8939c4",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 274.532,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52195,
    "c": 0.20735,
    "h": 306.8
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#8939C4
secondary
#A8CC8D
accent
#DE4A89
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8939C4

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

Preview Lab → · Contrast checker → · Palette generator →

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