#8939B2#8939B2

#8939B2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.189 H 311.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8939B2
RGBrgb(137, 57, 178)
HSLhsl(280, 51%, 46%)
HSVhsv(280, 68%, 70%)
CMYKcmyk(23%, 68%, 0%, 30.2%)
CIE-LABlab(40.34, 53.61, -49.91)
CIE-LCHlch(40.34, 73.24, 317.05°)
OKLaboklab(50.92% 0.1264 -0.1408)
OKLCHoklch(50.92% 0.189 311.9)
XYZxyz(19.8141, 11.4595, 43.2790)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939B2 #62B239
analogous
#4C39B2 #8939B2 #B2399E
triadic
#8939B2 #B28939 #39B289
tetradic
#8939B2 #B24C39 #62B239 #399EB2
square
#8939B2 #B24C39 #62B239 #399EB2
split-complementary
#8939B2 #9EB239 #39B24C
monochromatic
#421B55 #652A84 #8939B2 #A65DCB #BF8BDA

Accessibility & contrast

On white

6.38
#8939B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8939B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939B2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939B2#FFFFFF#000000##FFFFFF
##8939B21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#2C61AF
Tritanopia (blue-blind)
#845271
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8939b2;
/* rgb */ color: rgb(137, 57, 178);
/* oklch */ color: oklch(50.9% 0.189 311.9);
Tailwind
colors: {
  custom: {
    50: '#af75ca',
    500: '#8939b2',
    950: '#000000',
  },
}
SCSS
$custom: #8939b2;
$custom-light: #af75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8939b2",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 279.669,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.18923,
    "h": 311.9
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

primary
#8939B2
secondary
#99C482
accent
#DB4D7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8939B2

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

Preview Lab → · Contrast checker → · Palette generator →

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