#8937B7#8937B7

#8937B7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.197 H 310.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8937B7
RGBrgb(137, 55, 183)
HSLhsl(278, 54%, 47%)
HSVhsv(278, 70%, 72%)
CMYKcmyk(25.1%, 69.9%, 0%, 28.2%)
CIE-LABlab(40.36, 55.59, -52.83)
CIE-LCHlch(40.36, 76.69, 316.46°)
OKLaboklab(51.04% 0.1281 -0.1494)
OKLCHoklch(51.04% 0.197 310.6)
XYZxyz(20.2283, 11.4701, 45.9389)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937B7 #65B737
analogous
#4937B7 #8937B7 #B737A5
triadic
#8937B7 #B78937 #37B789
tetradic
#8937B7 #B74937 #65B737 #37A5B7
square
#8937B7 #B74937 #65B737 #37A5B7
split-complementary
#8937B7 #A5B737 #37B749
monochromatic
#431B59 #662988 #8937B7 #A65DCE #C08CDC

Accessibility & contrast

On white

6.38
#8937B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8937B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937B7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937B7#FFFFFF#000000##FFFFFF
##8937B71.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)
#005BBB
Deuteranopia (green-blind)
#2360B4
Tritanopia (blue-blind)
#835373
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8937b7;
/* rgb */ color: rgb(137, 55, 183);
/* oklch */ color: oklch(51.0% 0.197 310.6);
Tailwind
colors: {
  custom: {
    50: '#b075cd',
    500: '#8937b7',
    950: '#000000',
  },
}
SCSS
$custom: #8937b7;
$custom-light: #b075cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8937b7",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 278.438,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51039,
    "c": 0.19678,
    "h": 310.6
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#8937B7
secondary
#9BC783
accent
#DD4B7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8937B7

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

Preview Lab → · Contrast checker → · Palette generator →

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