#8927A2#8927A2

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

Color values

HEX#8927A2
RGBrgb(137, 39, 162)
HSLhsl(288, 61%, 39%)
HSVhsv(288, 76%, 64%)
CMYKcmyk(15.4%, 75.9%, 0%, 36.5%)
CIE-LABlab(36.70, 57.62, -46.21)
CIE-LCHlch(36.70, 73.86, 321.27°)
OKLaboklab(47.99% 0.1465 -0.1299)
OKLCHoklch(47.99% 0.196 318.4)
XYZxyz(17.5627, 9.3789, 35.0606)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8927A2 #40A227
analogous
#4C27A2 #8927A2 #A2277E
triadic
#8927A2 #A28927 #27A289
tetradic
#8927A2 #A24C27 #40A227 #277EA2
square
#8927A2 #A24C27 #40A227 #277EA2
split-complementary
#8927A2 #7EA227 #27A24C
monochromatic
#360F3F #5F1B71 #8927A2 #B037CF #C469DB

Accessibility & contrast

On white

7.30
#8927A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8927A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8927A2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8927A2#FFFFFF#000000##FFFFFF
##8927A21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8927a2;
/* rgb */ color: rgb(137, 39, 162);
/* oklch */ color: oklch(48.0% 0.196 318.4);
Tailwind
colors: {
  custom: {
    50: '#af6cbe',
    500: '#8927a2',
    950: '#000000',
  },
}
SCSS
$custom: #8927a2;
$custom-light: #af6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8927a2",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 287.805,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.19578,
    "h": 318.4
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#8927A2
secondary
#77C164
accent
#E44364
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8927A2

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

Preview Lab → · Contrast checker → · Palette generator →

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