#8928B7#8928B7

#8928B7 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.213 H 311.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8928B7
RGBrgb(137, 40, 183)
HSLhsl(281, 64%, 44%)
HSVhsv(281, 78%, 72%)
CMYKcmyk(25.1%, 78.1%, 0%, 28.2%)
CIE-LABlab(38.30, 61.47, -56.17)
CIE-LCHlch(38.30, 83.26, 317.58°)
OKLaboklab(49.58% 0.1423 -0.1591)
OKLCHoklch(49.58% 0.213 311.8)
XYZxyz(19.6210, 10.2554, 45.7365)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8928B7 #56B728
analogous
#4128B7 #8928B7 #B7289D
triadic
#8928B7 #B78928 #28B789
tetradic
#8928B7 #B74128 #56B728 #289DB7
square
#8928B7 #B74128 #56B728 #289DB7
split-complementary
#8928B7 #9DB728 #28B741
monochromatic
#3E1253 #631D85 #8928B7 #A846D6 #C078E1

Accessibility & contrast

On white

6.88
#8928B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8928B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8928B7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8928B7#FFFFFF#000000##FFFFFF
##8928B71.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#075CB4
Tritanopia (blue-blind)
#834B6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8928b7;
/* rgb */ color: rgb(137, 40, 183);
/* oklch */ color: oklch(49.6% 0.213 311.8);
Tailwind
colors: {
  custom: {
    50: '#b06dcd',
    500: '#8928b7',
    950: '#000000',
  },
}
SCSS
$custom: #8928b7;
$custom-light: #b06dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8928b7",
  "rgb": {
    "r": 137,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 280.699,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.21344,
    "h": 311.8
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#8928B7
secondary
#8EC972
accent
#E74176
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8928B7

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

Preview Lab → · Contrast checker → · Palette generator →

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