#8927BA#8927BA

#8927BA is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.217 H 311.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8927BA
RGBrgb(137, 39, 186)
HSLhsl(280, 65%, 44%)
HSVhsv(280, 79%, 73%)
CMYKcmyk(26.3%, 79%, 0%, 27.1%)
CIE-LABlab(38.40, 62.42, -57.77)
CIE-LCHlch(38.40, 85.05, 317.22°)
OKLaboklab(49.72% 0.1425 -0.1638)
OKLCHoklch(49.72% 0.217 311)
XYZxyz(19.9033, 10.3151, 47.3874)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8927BA #58BA27
analogous
#4027BA #8927BA #BA27A2
triadic
#8927BA #BA8927 #27BA89
tetradic
#8927BA #BA4027 #58BA27 #27A2BA
square
#8927BA #BA4027 #58BA27 #27A2BA
split-complementary
#8927BA #A2BA27 #27BA40
monochromatic
#3E1255 #641C87 #8927BA #A746D8 #BF79E3

Accessibility & contrast

On white

6.86
#8927BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8927BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8927BA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8927BA#FFFFFF#000000##FFFFFF
##8927BA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#824C71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8927ba;
/* rgb */ color: rgb(137, 39, 186);
/* oklch */ color: oklch(49.7% 0.217 311.0);
Tailwind
colors: {
  custom: {
    50: '#b06dd0',
    500: '#8927ba',
    950: '#000000',
  },
}
SCSS
$custom: #8927ba;
$custom-light: #b06dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8927ba",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 280,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.21709,
    "h": 311
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#8927BA
secondary
#90CB72
accent
#E84078
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8927BA

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

Preview Lab → · Contrast checker → · Palette generator →

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