#8931B8#8931B8

#8931B8 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.205 H 310.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8931B8
RGBrgb(137, 49, 184)
HSLhsl(279, 58%, 46%)
HSVhsv(279, 73%, 72%)
CMYKcmyk(25.5%, 73.4%, 0%, 27.8%)
CIE-LABlab(39.54, 58.32, -54.74)
CIE-LCHlch(39.54, 79.99, 316.81°)
OKLaboklab(50.48% 0.134 -0.155)
OKLCHoklch(50.48% 0.205 310.9)
XYZxyz(20.0649, 10.9762, 46.3997)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931B8 #60B831
analogous
#4531B8 #8931B8 #B831A3
triadic
#8931B8 #B88931 #31B889
tetradic
#8931B8 #B84531 #60B831 #31A3B8
square
#8931B8 #B84531 #60B831 #31A3B8
split-complementary
#8931B8 #A3B831 #31B845
monochromatic
#411757 #652488 #8931B8 #A655D2 #BF85DE

Accessibility & contrast

On white

6.57
#8931B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8931B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8931B8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8931B8#FFFFFF#000000##FFFFFF
##8931B81.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#835072
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8931b8;
/* rgb */ color: rgb(137, 49, 184);
/* oklch */ color: oklch(50.5% 0.205 310.9);
Tailwind
colors: {
  custom: {
    50: '#b072ce',
    500: '#8931b8',
    950: '#000000',
  },
}
SCSS
$custom: #8931b8;
$custom-light: #b072ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8931b8",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 279.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.20489,
    "h": 310.9
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#8931B8
secondary
#97C87D
accent
#E1477C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8931B8

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

Preview Lab → · Contrast checker → · Palette generator →

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