#8931E2#8931E2

#8931E2 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.8% C 0.245 H 300.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8931E2
RGBrgb(137, 49, 226)
HSLhsl(270, 75%, 54%)
HSVhsv(270, 78%, 89%)
CMYKcmyk(39.4%, 78.3%, 0%, 11.4%)
CIE-LABlab(42.77, 67.62, -73.81)
CIE-LCHlch(42.77, 100.11, 312.49°)
OKLaboklab(53.75% 0.1247 -0.211)
OKLCHoklch(53.75% 0.245 300.6)
XYZxyz(25.1389, 13.0058, 73.1227)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931E2 #8AE231
analogous
#3132E2 #8931E2 #E231E2
triadic
#8931E2 #E28931 #31E289
tetradic
#8931E2 #E23132 #8AE231 #31E2E2
square
#8931E2 #E23132 #8AE231 #31E2E2
split-complementary
#8931E2 #E2E231 #32E231
monochromatic
#4C1386 #6A1ABB #8931E2 #A867EA #C69CF1

Accessibility & contrast

On white

5.83
#8931E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8931E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8931E2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8931E2#FFFFFF#000000##FFFFFF
##8931E21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#74628A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8931e2;
/* rgb */ color: rgb(137, 49, 226);
/* oklch */ color: oklch(53.8% 0.245 300.6);
Tailwind
colors: {
  custom: {
    50: '#b374ec',
    500: '#8931e2',
    950: '#000000',
  },
}
SCSS
$custom: #8931e2;
$custom-light: #b374ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8931e2",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 269.831,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.24508,
    "h": 300.6
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#8931E2
secondary
#B8DD92
accent
#F23694
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8931E2

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

Preview Lab → · Contrast checker → · Palette generator →

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