#8918B4#8918B4

#8918B4 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.2% C 0.224 H 313.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8918B4
RGBrgb(137, 24, 180)
HSLhsl(283, 76%, 40%)
HSVhsv(283, 87%, 71%)
CMYKcmyk(23.9%, 86.7%, 0%, 29.4%)
CIE-LABlab(36.49, 65.47, -57.32)
CIE-LCHlch(36.49, 87.01, 318.80°)
OKLaboklab(48.25% 0.1541 -0.1624)
OKLCHoklch(48.25% 0.224 313.5)
XYZxyz(18.8799, 9.2676, 43.9655)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8918B4 #43B418
analogous
#3B18B4 #8918B4 #B41891
triadic
#8918B4 #B48918 #18B489
tetradic
#8918B4 #B43B18 #43B418 #1891B4
square
#8918B4 #B43B18 #43B418 #1891B4
split-complementary
#8918B4 #91B418 #18B43B
monochromatic
#370A48 #60117E #8918B4 #AF27E2 #C35DE9

Accessibility & contrast

On white

7.36
#8918B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8918B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8918B4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8918B4#FFFFFF#000000##FFFFFF
##8918B41.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#84436B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8918b4;
/* rgb */ color: rgb(137, 24, 180);
/* oklch */ color: oklch(48.2% 0.224 313.5);
Tailwind
colors: {
  custom: {
    50: '#b168cb',
    500: '#8918b4',
    950: '#000000',
  },
}
SCSS
$custom: #8918b4;
$custom-light: #b168cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8918b4",
  "rgb": {
    "r": 137,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 283.462,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.22386,
    "h": 313.5
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#8918B4
secondary
#7ACD5B
accent
#F33569
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8918B4

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

Preview Lab → · Contrast checker → · Palette generator →

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