#8917B4#8917B4

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

Color values

HEX#8917B4
RGBrgb(137, 23, 180)
HSLhsl(284, 77%, 40%)
HSVhsv(284, 87%, 71%)
CMYKcmyk(23.9%, 87.2%, 0%, 29.4%)
CIE-LABlab(36.42, 65.69, -57.44)
CIE-LCHlch(36.42, 87.26, 318.83°)
OKLaboklab(48.2% 0.1547 -0.1627)
OKLCHoklch(48.2% 0.225 313.5)
XYZxyz(18.8597, 9.2271, 43.9587)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8917B4 #42B417
analogous
#3B17B4 #8917B4 #B41791
triadic
#8917B4 #B48917 #17B489
tetradic
#8917B4 #B43B17 #42B417 #1791B4
square
#8917B4 #B43B17 #42B417 #1791B4
split-complementary
#8917B4 #91B417 #17B43B
monochromatic
#360947 #60107E #8917B4 #AF25E3 #C35BEA

Accessibility & contrast

On white

7.38
#8917B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8917B4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8917B4#FFFFFF#000000##FFFFFF
##8917B41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.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: #8917b4;
/* rgb */ color: rgb(137, 23, 180);
/* oklch */ color: oklch(48.2% 0.225 313.5);
Tailwind
colors: {
  custom: {
    50: '#b167cb',
    500: '#8917b4',
    950: '#000000',
  },
}
SCSS
$custom: #8917b4;
$custom-light: #b167cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8917b4",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 283.567,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.2245,
    "h": 313.5
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#8917B4
secondary
#79CE59
accent
#F43469
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8917B4

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

Preview Lab → · Contrast checker → · Palette generator →

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