#8937B3#8937B3

#8937B3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.193 H 311.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8937B3
RGBrgb(137, 55, 179)
HSLhsl(280, 53%, 46%)
HSVhsv(280, 69%, 70%)
CMYKcmyk(23.5%, 69.3%, 0%, 29.8%)
CIE-LABlab(40.09, 54.72, -50.91)
CIE-LCHlch(40.09, 74.74, 317.07°)
OKLaboklab(50.76% 0.1285 -0.1437)
OKLCHoklch(50.76% 0.193 311.8)
XYZxyz(19.8179, 11.3059, 43.7774)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937B3 #61B337
analogous
#4B37B3 #8937B3 #B3379F
triadic
#8937B3 #B38937 #37B389
tetradic
#8937B3 #B34B37 #61B337 #379FB3
square
#8937B3 #B34B37 #61B337 #379FB3
split-complementary
#8937B3 #9FB337 #37B34B
monochromatic
#411A55 #652984 #8937B3 #A65BCD #BF8ADB

Accessibility & contrast

On white

6.44
#8937B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8937B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937B3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937B3#FFFFFF#000000##FFFFFF
##8937B31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2960B0
Tritanopia (blue-blind)
#845171
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8937b3;
/* rgb */ color: rgb(137, 55, 179);
/* oklch */ color: oklch(50.8% 0.193 311.8);
Tailwind
colors: {
  custom: {
    50: '#af74ca',
    500: '#8937b3',
    950: '#000000',
  },
}
SCSS
$custom: #8937b3;
$custom-light: #af74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8937b3",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 279.677,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.19281,
    "h": 311.8
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#8937B3
secondary
#98C581
accent
#DC4B7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8937B3

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

Preview Lab → · Contrast checker → · Palette generator →

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