#8937BE#8937BE

#8937BE is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.204 H 308.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8937BE
RGBrgb(137, 55, 190)
HSLhsl(276, 55%, 48%)
HSVhsv(276, 71%, 75%)
CMYKcmyk(27.9%, 71.1%, 0%, 25.5%)
CIE-LABlab(40.85, 57.12, -56.16)
CIE-LCHlch(40.85, 80.11, 315.49°)
OKLaboklab(51.54% 0.1272 -0.1592)
OKLCHoklch(51.54% 0.204 308.6)
XYZxyz(20.9751, 11.7688, 49.8719)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937BE #6CBE37
analogous
#4537BE #8937BE #BE37B0
triadic
#8937BE #BE8937 #37BE89
tetradic
#8937BE #BE4537 #6CBE37 #37B0BE
square
#8937BE #BE4537 #6CBE37 #37B0BE
split-complementary
#8937BE #B0BE37 #37BE45
monochromatic
#451C5F #67298F #8937BE #A561D1 #C090DF

Accessibility & contrast

On white

6.26
#8937BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8937BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937BE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937BE#FFFFFF#000000##FFFFFF
##8937BE1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#1561BB
Tritanopia (blue-blind)
#815677
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8937be;
/* rgb */ color: rgb(137, 55, 190);
/* oklch */ color: oklch(51.5% 0.204 308.6);
Tailwind
colors: {
  custom: {
    50: '#b075d2',
    500: '#8937be',
    950: '#000000',
  },
}
SCSS
$custom: #8937be;
$custom-light: #b075d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8937be",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 276.444,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.20373,
    "h": 308.6
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#8937BE
secondary
#A1CA87
accent
#DE4984
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8937BE

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

Preview Lab → · Contrast checker → · Palette generator →

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