#8937B4#8937B4

#8937B4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.194 H 311.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8937B4
RGBrgb(137, 55, 180)
HSLhsl(279, 53%, 46%)
HSVhsv(279, 69%, 71%)
CMYKcmyk(23.9%, 69.4%, 0%, 29.4%)
CIE-LABlab(40.16, 54.93, -51.39)
CIE-LCHlch(40.16, 75.22, 316.91°)
OKLaboklab(50.83% 0.1284 -0.1451)
OKLCHoklch(50.83% 0.194 311.5)
XYZxyz(19.9194, 11.3465, 44.3119)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937B4 #62B437
analogous
#4A37B4 #8937B4 #B437A0
triadic
#8937B4 #B48937 #37B489
tetradic
#8937B4 #B44A37 #62B437 #37A0B4
square
#8937B4 #B44A37 #62B437 #37A0B4
split-complementary
#8937B4 #A0B437 #37B44A
monochromatic
#421A56 #652985 #8937B4 #A65BCD #BF8ADB

Accessibility & contrast

On white

6.42
#8937B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8937B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937B4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937B4#FFFFFF#000000##FFFFFF
##8937B41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#845171
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8937b4;
/* rgb */ color: rgb(137, 55, 180);
/* oklch */ color: oklch(50.8% 0.194 311.5);
Tailwind
colors: {
  custom: {
    50: '#af74cb',
    500: '#8937b4',
    950: '#000000',
  },
}
SCSS
$custom: #8937b4;
$custom-light: #af74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8937b4",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 279.36,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5083,
    "c": 0.1938,
    "h": 311.5
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#8937B4
secondary
#99C681
accent
#DD4B7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8937B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8937B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva