#8928C7#8928C7

#8928C7 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.228 H 307.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8928C7
RGBrgb(137, 40, 199)
HSLhsl(277, 67%, 47%)
HSVhsv(277, 80%, 78%)
CMYKcmyk(31.2%, 79.9%, 0%, 22%)
CIE-LABlab(39.51, 64.81, -63.58)
CIE-LCHlch(39.51, 90.79, 315.55°)
OKLaboklab(50.81% 0.1386 -0.1809)
OKLCHoklch(50.81% 0.228 307.5)
XYZxyz(21.3819, 10.9598, 55.0108)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8928C7 #66C728
analogous
#3A28C7 #8928C7 #C728B6
triadic
#8928C7 #C78928 #28C789
tetradic
#8928C7 #C73A28 #66C728 #28B6C7
square
#8928C7 #C73A28 #66C728 #28B6C7
split-complementary
#8928C7 #B6C728 #28C73A
monochromatic
#431461 #661E94 #8928C7 #A550DC #C083E6

Accessibility & contrast

On white

6.58
#8928C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8928C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8928C7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8928C7#FFFFFF#000000##FFFFFF
##8928C71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#7E5278
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8928c7;
/* rgb */ color: rgb(137, 40, 199);
/* oklch */ color: oklch(50.8% 0.228 307.5);
Tailwind
colors: {
  custom: {
    50: '#b16ed9',
    500: '#8928c7',
    950: '#000000',
  },
}
SCSS
$custom: #8928c7;
$custom-light: #b16ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8928c7",
  "rgb": {
    "r": 137,
    "g": 40,
    "b": 199
  },
  "hsl": {
    "h": 276.604,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50809,
    "c": 0.22789,
    "h": 307.5
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#8928C7
secondary
#9CCF7C
accent
#E93E81
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8928C7

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

Preview Lab → · Contrast checker → · Palette generator →

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