#8937B9#8937B9

#8937B9 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.199 H 310.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8937B9
RGBrgb(137, 55, 185)
HSLhsl(278, 54%, 47%)
HSVhsv(278, 70%, 73%)
CMYKcmyk(25.9%, 70.3%, 0%, 27.5%)
CIE-LABlab(40.50, 56.02, -53.79)
CIE-LCHlch(40.50, 77.66, 316.17°)
OKLaboklab(51.18% 0.1279 -0.1522)
OKLCHoklch(51.18% 0.199 310)
XYZxyz(20.4380, 11.5540, 47.0430)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937B9 #67B937
analogous
#4837B9 #8937B9 #B937A8
triadic
#8937B9 #B98937 #37B989
tetradic
#8937B9 #B94837 #67B937 #37A8B9
square
#8937B9 #B94837 #67B937 #37A8B9
split-complementary
#8937B9 #A8B937 #37B948
monochromatic
#431B5B #66298A #8937B9 #A55ECF #C08DDD

Accessibility & contrast

On white

6.34
#8937B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8937B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937B9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937B9#FFFFFF#000000##FFFFFF
##8937B91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#2061B6
Tritanopia (blue-blind)
#825374
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8937b9;
/* rgb */ color: rgb(137, 55, 185);
/* oklch */ color: oklch(51.2% 0.199 310.0);
Tailwind
colors: {
  custom: {
    50: '#b075cf',
    500: '#8937b9',
    950: '#000000',
  },
}
SCSS
$custom: #8937b9;
$custom-light: #b075cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8937b9",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 277.846,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.19876,
    "h": 310
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#8937B9
secondary
#9DC884
accent
#DE4A81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8937B9

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

Preview Lab → · Contrast checker → · Palette generator →

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