#8931B2#8931B2

#8931B2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.199 H 312.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8931B2
RGBrgb(137, 49, 178)
HSLhsl(281, 57%, 45%)
HSVhsv(281, 72%, 70%)
CMYKcmyk(23%, 72.5%, 0%, 30.2%)
CIE-LABlab(39.12, 57.05, -51.88)
CIE-LCHlch(39.12, 77.11, 317.72°)
OKLaboklab(50.05% 0.1349 -0.1465)
OKLCHoklch(50.05% 0.199 312.6)
XYZxyz(19.4493, 10.7299, 43.1574)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931B2 #5AB231
analogous
#4831B2 #8931B2 #B2319B
triadic
#8931B2 #B28931 #31B289
tetradic
#8931B2 #B24831 #5AB231 #319BB2
square
#8931B2 #B24831 #5AB231 #319BB2
split-complementary
#8931B2 #9BB231 #31B248
monochromatic
#3F1752 #642482 #8931B2 #A751CF #BF81DC

Accessibility & contrast

On white

6.68
#8931B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8931B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8931B2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8931B2#FFFFFF#000000##FFFFFF
##8931B21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#844D6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8931b2;
/* rgb */ color: rgb(137, 49, 178);
/* oklch */ color: oklch(50.0% 0.199 312.6);
Tailwind
colors: {
  custom: {
    50: '#b071ca',
    500: '#8931b2',
    950: '#000000',
  },
}
SCSS
$custom: #8931b2;
$custom-light: #b071ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8931b2",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 280.93,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50048,
    "c": 0.19917,
    "h": 312.6
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#8931B2
secondary
#92C579
accent
#E04878
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8931B2

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

Preview Lab → · Contrast checker → · Palette generator →

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