#8930E2#8930E2

#8930E2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.7% C 0.246 H 300.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8930E2
RGBrgb(137, 48, 226)
HSLhsl(270, 75%, 54%)
HSVhsv(270, 79%, 89%)
CMYKcmyk(39.4%, 78.8%, 0%, 11.4%)
CIE-LABlab(42.65, 67.99, -74.02)
CIE-LCHlch(42.65, 100.50, 312.57°)
OKLaboklab(53.67% 0.1254 -0.2116)
OKLCHoklch(53.67% 0.246 300.7)
XYZxyz(25.0975, 12.9230, 73.1089)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8930E2 #89E230
analogous
#3030E2 #8930E2 #E230E2
triadic
#8930E2 #E28930 #30E289
tetradic
#8930E2 #E23030 #89E230 #30E2E2
square
#8930E2 #E23030 #89E230 #30E2E2
split-complementary
#8930E2 #E2E230 #30E230
monochromatic
#4C1385 #6A1ABB #8930E2 #A866EA #C69BF1

Accessibility & contrast

On white

5.86
#8930E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8930E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8930E2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8930E2#FFFFFF#000000##FFFFFF
##8930E21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8930e2;
/* rgb */ color: rgb(137, 48, 226);
/* oklch */ color: oklch(53.7% 0.246 300.7);
Tailwind
colors: {
  custom: {
    50: '#b373ec',
    500: '#8930e2',
    950: '#000000',
  },
}
SCSS
$custom: #8930e2;
$custom-light: #b373ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8930e2",
  "rgb": {
    "r": 137,
    "g": 48,
    "b": 226
  },
  "hsl": {
    "h": 270,
    "s": 75.424,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53667,
    "c": 0.24597,
    "h": 300.7
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8930E2

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

Preview Lab → · Contrast checker → · Palette generator →

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