#8928BC#8928BC

#8928BC is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.218 H 310.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8928BC
RGBrgb(137, 40, 188)
HSLhsl(279, 65%, 45%)
HSVhsv(279, 79%, 74%)
CMYKcmyk(27.1%, 78.7%, 0%, 26.3%)
CIE-LABlab(38.67, 62.50, -58.51)
CIE-LCHlch(38.67, 85.62, 316.89°)
OKLaboklab(49.96% 0.1412 -0.166)
OKLCHoklch(49.96% 0.218 310.4)
XYZxyz(20.1506, 10.4673, 48.5261)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8928BC #5BBC28
analogous
#3F28BC #8928BC #BC28A5
triadic
#8928BC #BC8928 #28BC89
tetradic
#8928BC #BC3F28 #5BBC28 #28A5BC
square
#8928BC #BC3F28 #5BBC28 #28A5BC
split-complementary
#8928BC #A5BC28 #28BC3F
monochromatic
#3F1357 #641D8A #8928BC #A749D8 #BF7BE3

Accessibility & contrast

On white

6.79
#8928BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8928BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8928BC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8928BC#FFFFFF#000000##FFFFFF
##8928BC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#824D72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8928bc;
/* rgb */ color: rgb(137, 40, 188);
/* oklch */ color: oklch(50.0% 0.218 310.4);
Tailwind
colors: {
  custom: {
    50: '#b16ed1',
    500: '#8928bc',
    950: '#000000',
  },
}
SCSS
$custom: #8928bc;
$custom-light: #b16ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8928bc",
  "rgb": {
    "r": 137,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 279.324,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.21795,
    "h": 310.4
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#8928BC
secondary
#92CB75
accent
#E8407A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8928BC

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

Preview Lab → · Contrast checker → · Palette generator →

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