#8937BA#8937BA

#8937BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.3% C 0.200 H 309.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8937BA
RGBrgb(137, 55, 186)
HSLhsl(278, 54%, 47%)
HSVhsv(278, 70%, 73%)
CMYKcmyk(26.3%, 70.4%, 0%, 27.1%)
CIE-LABlab(40.57, 56.24, -54.26)
CIE-LCHlch(40.57, 78.15, 316.03°)
OKLaboklab(51.25% 0.1277 -0.1536)
OKLCHoklch(51.25% 0.2 309.7)
XYZxyz(20.5439, 11.5963, 47.6009)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937BA #68BA37
analogous
#4737BA #8937BA #BA37AA
triadic
#8937BA #BA8937 #37BA89
tetradic
#8937BA #BA4737 #68BA37 #37AABA
square
#8937BA #BA4737 #68BA37 #37AABA
split-complementary
#8937BA #AABA37 #37BA47
monochromatic
#431B5C #66298B #8937BA #A55FD0 #C08EDE

Accessibility & contrast

On white

6.33
#8937BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8937BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937BA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937BA#FFFFFF#000000##FFFFFF
##8937BA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#1E61B7
Tritanopia (blue-blind)
#825475
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8937ba;
/* rgb */ color: rgb(137, 55, 186);
/* oklch */ color: oklch(51.3% 0.200 309.7);
Tailwind
colors: {
  custom: {
    50: '#b075cf',
    500: '#8937ba',
    950: '#000000',
  },
}
SCSS
$custom: #8937ba;
$custom-light: #b075cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8937ba",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 277.557,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.19976,
    "h": 309.7
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8937BA

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

Preview Lab → · Contrast checker → · Palette generator →

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