#8918A1#8918A1

#8918A1 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.208 H 319.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8918A1
RGBrgb(137, 24, 161)
HSLhsl(289, 74%, 36%)
HSVhsv(289, 85%, 63%)
CMYKcmyk(14.9%, 85.1%, 0%, 36.9%)
CIE-LABlab(35.09, 61.89, -48.20)
CIE-LCHlch(35.09, 78.45, 322.09°)
OKLaboklab(46.83% 0.1583 -0.1356)
OKLCHoklch(46.83% 0.208 319.4)
XYZxyz(17.0753, 8.5457, 34.4614)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8918A1 #30A118
analogous
#4518A1 #8918A1 #A11875
triadic
#8918A1 #A18918 #18A189
tetradic
#8918A1 #A14518 #30A118 #1875A1
square
#8918A1 #A14518 #30A118 #1875A1
split-complementary
#8918A1 #75A118 #18A145
monochromatic
#2E0836 #5C106C #8918A1 #B620D6 #CA4FE5

Accessibility & contrast

On white

7.75
#8918A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8918A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8918A1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8918A1#FFFFFF#000000##FFFFFF
##8918A11.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#25569E
Tritanopia (blue-blind)
#893960
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8918a1;
/* rgb */ color: rgb(137, 24, 161);
/* oklch */ color: oklch(46.8% 0.208 319.4);
Tailwind
colors: {
  custom: {
    50: '#b067be',
    500: '#8918a1',
    950: '#000000',
  },
}
SCSS
$custom: #8918a1;
$custom-light: #b067be;
$custom-dark: #000000;
JSON
{
  "hex": "#8918a1",
  "rgb": {
    "r": 137,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 289.489,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.20845,
    "h": 319.4
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#8918A1
secondary
#63C74E
accent
#F13758
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8918A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8918A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva