#8928EF#8928EF

#8928EF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 54.2% C 0.264 H 298.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8928EF
RGBrgb(137, 40, 239)
HSLhsl(269, 86%, 55%)
HSVhsv(269, 83%, 94%)
CMYKcmyk(42.7%, 83.3%, 0%, 6.3%)
CIE-LABlab(42.86, 73.54, -81.03)
CIE-LCHlch(42.86, 109.43, 312.22°)
OKLaboklab(54.16% 0.1265 -0.2321)
OKLCHoklch(54.16% 0.264 298.6)
XYZxyz(26.6513, 13.0675, 82.7628)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8928EF #8EEF28
analogous
#282BEF #8928EF #EC28EF
triadic
#8928EF #EF8928 #28EF89
tetradic
#8928EF #EF282B #8EEF28 #28EFEC
square
#8928EF #EF282B #8EEF28 #28EFEC
split-complementary
#8928EF #EFEC28 #2BEF28
monochromatic
#4D0B92 #6B0FCB #8928EF #A861F3 #C89AF7

Accessibility & contrast

On white

5.81
#8928EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8928EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8928EF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8928EF#FFFFFF#000000##FFFFFF
##8928EF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065F4
Deuteranopia (green-blind)
#0063EB
Tritanopia (blue-blind)
#6F6490
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8928ef;
/* rgb */ color: rgb(137, 40, 239);
/* oklch */ color: oklch(54.2% 0.264 298.6);
Tailwind
colors: {
  custom: {
    50: '#b571f6',
    500: '#8928ef',
    950: '#000000',
  },
}
SCSS
$custom: #8928ef;
$custom-light: #b571f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8928ef",
  "rgb": {
    "r": 137,
    "g": 40,
    "b": 239
  },
  "hsl": {
    "h": 269.246,
    "s": 86.147,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.26434,
    "h": 298.6
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#8928EF
secondary
#BAE38F
accent
#FC2B97
background
#FBF7FF
surface
#F7EDFF
border
#D0C8D7
text
#120917
muted
#817B85

Preview Lab

Preview with #8928EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8928EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva