#8937BD#8937BD

#8937BD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.203 H 308.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8937BD
RGBrgb(137, 55, 189)
HSLhsl(277, 55%, 48%)
HSVhsv(277, 71%, 74%)
CMYKcmyk(27.5%, 70.9%, 0%, 25.9%)
CIE-LABlab(40.78, 56.90, -55.69)
CIE-LCHlch(40.78, 79.62, 315.62°)
OKLaboklab(51.47% 0.1273 -0.1578)
OKLCHoklch(51.47% 0.203 308.9)
XYZxyz(20.8662, 11.7252, 49.2982)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937BD #6BBD37
analogous
#4637BD #8937BD #BD37AE
triadic
#8937BD #BD8937 #37BD89
tetradic
#8937BD #BD4637 #6BBD37 #37AEBD
square
#8937BD #BD4637 #6BBD37 #37AEBD
split-complementary
#8937BD #AEBD37 #37BD46
monochromatic
#441B5E #67298E #8937BD #A560D1 #C090DF

Accessibility & contrast

On white

6.28
#8937BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8937BD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937BD#FFFFFF#000000##FFFFFF
##8937BD1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#815576
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8937bd;
/* rgb */ color: rgb(137, 55, 189);
/* oklch */ color: oklch(51.5% 0.203 308.9);
Tailwind
colors: {
  custom: {
    50: '#b075d2',
    500: '#8937bd',
    950: '#000000',
  },
}
SCSS
$custom: #8937bd;
$custom-light: #b075d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8937bd",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 276.716,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.20274,
    "h": 308.9
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#8937BD
secondary
#A0C986
accent
#DE4A83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8937BD

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

Preview Lab → · Contrast checker → · Palette generator →

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