#8918A0#8918A0

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

Color values

HEX#8918A0
RGBrgb(137, 24, 160)
HSLhsl(290, 74%, 36%)
HSVhsv(290, 85%, 63%)
CMYKcmyk(14.4%, 85%, 0%, 37.3%)
CIE-LABlab(35.02, 61.71, -47.71)
CIE-LCHlch(35.02, 78.00, 322.29°)
OKLaboklab(46.76% 0.1585 -0.1342)
OKLCHoklch(46.76% 0.208 319.8)
XYZxyz(16.9875, 8.5106, 33.9988)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8918A0 #2FA018
analogous
#4518A0 #8918A0 #A01873
triadic
#8918A0 #A08918 #18A089
tetradic
#8918A0 #A04518 #2FA018 #1873A0
square
#8918A0 #A04518 #2FA018 #1873A0
split-complementary
#8918A0 #73A018 #18A045
monochromatic
#2E0836 #5B106B #8918A0 #B720D5 #CB4EE4

Accessibility & contrast

On white

7.77
#8918A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8918A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8918A0
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8918A0#FFFFFF#000000##FFFFFF
##8918A01.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#26569D
Tritanopia (blue-blind)
#89395F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8918a0;
/* rgb */ color: rgb(137, 24, 160);
/* oklch */ color: oklch(46.8% 0.208 319.8);
Tailwind
colors: {
  custom: {
    50: '#b066bd',
    500: '#8918a0',
    950: '#000000',
  },
}
SCSS
$custom: #8918a0;
$custom-light: #b066bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8918a0",
  "rgb": {
    "r": 137,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 289.853,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4676,
    "c": 0.20765,
    "h": 319.8
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#8918A0
secondary
#62C64D
accent
#F13757
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8918A0

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

Preview Lab → · Contrast checker → · Palette generator →

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