#8928BA#8928BA

#8928BA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.216 H 311.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8928BA
RGBrgb(137, 40, 186)
HSLhsl(280, 65%, 44%)
HSVhsv(280, 78%, 73%)
CMYKcmyk(26.3%, 78.5%, 0%, 27.1%)
CIE-LABlab(38.52, 62.09, -57.58)
CIE-LCHlch(38.52, 84.68, 317.16°)
OKLaboklab(49.8% 0.1417 -0.1632)
OKLCHoklch(49.8% 0.216 311)
XYZxyz(19.9365, 10.3816, 47.3985)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8928BA #59BA28
analogous
#4028BA #8928BA #BA28A2
triadic
#8928BA #BA8928 #28BA89
tetradic
#8928BA #BA4028 #59BA28 #28A2BA
square
#8928BA #BA4028 #59BA28 #28A2BA
split-complementary
#8928BA #A2BA28 #28BA40
monochromatic
#3F1255 #641D88 #8928BA #A748D8 #BF7AE2

Accessibility & contrast

On white

6.83
#8928BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8928BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8928BA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8928BA#FFFFFF#000000##FFFFFF
##8928BA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#824C71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8928ba;
/* rgb */ color: rgb(137, 40, 186);
/* oklch */ color: oklch(49.8% 0.216 311.0);
Tailwind
colors: {
  custom: {
    50: '#b06ed0',
    500: '#8928ba',
    950: '#000000',
  },
}
SCSS
$custom: #8928ba;
$custom-light: #b06ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8928ba",
  "rgb": {
    "r": 137,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 279.863,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49803,
    "c": 0.21614,
    "h": 311
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#8928BA
secondary
#91CA73
accent
#E84078
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8928BA

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

Preview Lab → · Contrast checker → · Palette generator →

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