#8936B2#8936B2

#8936B2 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.193 H 312.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8936B2
RGBrgb(137, 54, 178)
HSLhsl(280, 53%, 45%)
HSVhsv(280, 70%, 70%)
CMYKcmyk(23%, 69.7%, 0%, 30.2%)
CIE-LABlab(39.87, 54.94, -50.67)
CIE-LCHlch(39.87, 74.74, 317.31°)
OKLaboklab(50.58% 0.1297 -0.143)
OKLCHoklch(50.58% 0.193 312.2)
XYZxyz(19.6701, 11.1716, 43.2310)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8936B2 #5FB236
analogous
#4B36B2 #8936B2 #B2369D
triadic
#8936B2 #B28936 #36B289
tetradic
#8936B2 #B24B36 #5FB236 #369DB2
square
#8936B2 #B24B36 #5FB236 #369DB2
split-complementary
#8936B2 #9DB236 #36B24B
monochromatic
#411A54 #652883 #8936B2 #A659CD #BF88DB

Accessibility & contrast

On white

6.49
#8936B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8936B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8936B2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8936B2#FFFFFF#000000##FFFFFF
##8936B21.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#845070
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8936b2;
/* rgb */ color: rgb(137, 54, 178);
/* oklch */ color: oklch(50.6% 0.193 312.2);
Tailwind
colors: {
  custom: {
    50: '#af74ca',
    500: '#8936b2',
    950: '#000000',
  },
}
SCSS
$custom: #8936b2;
$custom-light: #af74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8936b2",
  "rgb": {
    "r": 137,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 280.161,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.19309,
    "h": 312.2
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#8936B2
secondary
#96C57F
accent
#DD4B7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8936B2

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

Preview Lab → · Contrast checker → · Palette generator →

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