#8937B2#8937B2

#8937B2 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.192 H 312.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8937B2
RGBrgb(137, 55, 178)
HSLhsl(280, 53%, 46%)
HSVhsv(280, 69%, 70%)
CMYKcmyk(23%, 69.1%, 0%, 30.2%)
CIE-LABlab(40.02, 54.50, -50.42)
CIE-LCHlch(40.02, 74.25, 317.23°)
OKLaboklab(50.69% 0.1286 -0.1423)
OKLCHoklch(50.69% 0.192 312.1)
XYZxyz(19.7171, 11.2656, 43.2467)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937B2 #60B237
analogous
#4B37B2 #8937B2 #B2379D
triadic
#8937B2 #B28937 #37B289
tetradic
#8937B2 #B24B37 #60B237 #379DB2
square
#8937B2 #B24B37 #60B237 #379DB2
split-complementary
#8937B2 #9DB237 #37B24B
monochromatic
#411A54 #652983 #8937B2 #A65ACC #BF89DB

Accessibility & contrast

On white

6.46
#8937B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8937B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937B2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937B2#FFFFFF#000000##FFFFFF
##8937B21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#845170
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8937b2;
/* rgb */ color: rgb(137, 55, 178);
/* oklch */ color: oklch(50.7% 0.192 312.1);
Tailwind
colors: {
  custom: {
    50: '#af74ca',
    500: '#8937b2',
    950: '#000000',
  },
}
SCSS
$custom: #8937b2;
$custom-light: #af74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8937b2",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 280,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.19182,
    "h": 312.1
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#8937B2
secondary
#97C580
accent
#DC4C7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8937B2

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

Preview Lab → · Contrast checker → · Palette generator →

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