#8928A2#8928A2

#8928A2 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.195 H 318.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8928A2
RGBrgb(137, 40, 162)
HSLhsl(288, 60%, 40%)
HSVhsv(288, 75%, 64%)
CMYKcmyk(15.4%, 75.3%, 0%, 36.5%)
CIE-LABlab(36.83, 57.26, -46.01)
CIE-LCHlch(36.83, 73.46, 321.21°)
OKLaboklab(48.08% 0.1456 -0.1293)
OKLCHoklch(48.08% 0.195 318.4)
XYZxyz(17.5960, 9.4454, 35.0717)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8928A2 #41A228
analogous
#4C28A2 #8928A2 #A2287E
triadic
#8928A2 #A28928 #28A289
tetradic
#8928A2 #A24C28 #41A228 #287EA2
square
#8928A2 #A24C28 #41A228 #287EA2
split-complementary
#8928A2 #7EA228 #28A24C
monochromatic
#361040 #5F1C71 #8928A2 #B039CE #C36ADA

Accessibility & contrast

On white

7.27
#8928A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8928A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8928A2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8928A2#FFFFFF#000000##FFFFFF
##8928A21.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#2E5A9F
Tritanopia (blue-blind)
#884163
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8928a2;
/* rgb */ color: rgb(137, 40, 162);
/* oklch */ color: oklch(48.1% 0.195 318.4);
Tailwind
colors: {
  custom: {
    50: '#af6cbe',
    500: '#8928a2',
    950: '#000000',
  },
}
SCSS
$custom: #8928a2;
$custom-light: #af6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8928a2",
  "rgb": {
    "r": 137,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 287.705,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.1947,
    "h": 318.4
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#8928A2
secondary
#78C165
accent
#E44465
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8928A2

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

Preview Lab → · Contrast checker → · Palette generator →

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