#8937B8#8937B8

#8937B8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.1% C 0.198 H 310.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8937B8
RGBrgb(137, 55, 184)
HSLhsl(278, 54%, 47%)
HSVhsv(278, 70%, 72%)
CMYKcmyk(25.5%, 70.1%, 0%, 27.8%)
CIE-LABlab(40.43, 55.80, -53.31)
CIE-LCHlch(40.43, 77.17, 316.31°)
OKLaboklab(51.11% 0.128 -0.1508)
OKLCHoklch(51.11% 0.198 310.3)
XYZxyz(20.3328, 11.5119, 46.4890)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937B8 #66B837
analogous
#4937B8 #8937B8 #B837A6
triadic
#8937B8 #B88937 #37B889
tetradic
#8937B8 #B84937 #66B837 #37A6B8
square
#8937B8 #B84937 #66B837 #37A6B8
split-complementary
#8937B8 #A6B837 #37B849
monochromatic
#431B5A #662989 #8937B8 #A55DCF #C08DDD

Accessibility & contrast

On white

6.36
#8937B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8937B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937B8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937B8#FFFFFF#000000##FFFFFF
##8937B81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#2161B5
Tritanopia (blue-blind)
#835374
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8937b8;
/* rgb */ color: rgb(137, 55, 184);
/* oklch */ color: oklch(51.1% 0.198 310.3);
Tailwind
colors: {
  custom: {
    50: '#b075ce',
    500: '#8937b8',
    950: '#000000',
  },
}
SCSS
$custom: #8937b8;
$custom-light: #b075ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8937b8",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 278.14,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.19777,
    "h": 310.3
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#8937B8
secondary
#9CC784
accent
#DD4A80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8937B8

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

Preview Lab → · Contrast checker → · Palette generator →

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