#8931B7#8931B7

#8931B7 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.204 H 311.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8931B7
RGBrgb(137, 49, 183)
HSLhsl(279, 58%, 45%)
HSVhsv(279, 73%, 72%)
CMYKcmyk(25.1%, 73.2%, 0%, 28.2%)
CIE-LABlab(39.47, 58.11, -54.27)
CIE-LCHlch(39.47, 79.51, 316.96°)
OKLaboklab(50.41% 0.1342 -0.1536)
OKLCHoklch(50.41% 0.204 311.1)
XYZxyz(19.9605, 10.9344, 45.8496)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931B7 #5FB731
analogous
#4631B7 #8931B7 #B731A2
triadic
#8931B7 #B78931 #31B789
tetradic
#8931B7 #B74631 #5FB731 #31A2B7
square
#8931B7 #B74631 #5FB731 #31A2B7
split-complementary
#8931B7 #A2B731 #31B746
monochromatic
#411756 #652487 #8931B7 #A654D1 #BF84DE

Accessibility & contrast

On white

6.59
#8931B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8931B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8931B7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8931B7#FFFFFF#000000##FFFFFF
##8931B71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#1A5EB4
Tritanopia (blue-blind)
#834F71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8931b7;
/* rgb */ color: rgb(137, 49, 183);
/* oklch */ color: oklch(50.4% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#b072cd',
    500: '#8931b7',
    950: '#000000',
  },
}
SCSS
$custom: #8931b7;
$custom-light: #b072cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8931b7",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 279.403,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.20393,
    "h": 311.1
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#8931B7
secondary
#96C87C
accent
#E1477C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8931B7

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

Preview Lab → · Contrast checker → · Palette generator →

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