#8915B4#8915B4

#8915B4 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 48.1% C 0.226 H 313.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8915B4
RGBrgb(137, 21, 180)
HSLhsl(284, 79%, 39%)
HSVhsv(284, 88%, 71%)
CMYKcmyk(23.9%, 88.3%, 0%, 29.4%)
CIE-LABlab(36.27, 66.12, -57.68)
CIE-LCHlch(36.27, 87.74, 318.90°)
OKLaboklab(48.09% 0.1557 -0.1634)
OKLCHoklch(48.09% 0.226 313.6)
XYZxyz(18.8215, 9.1506, 43.9460)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8915B4 #40B415
analogous
#3A15B4 #8915B4 #B4158F
triadic
#8915B4 #B48915 #15B489
tetradic
#8915B4 #B43A15 #40B415 #158FB4
square
#8915B4 #B43A15 #40B415 #158FB4
split-complementary
#8915B4 #8FB415 #15B43A
monochromatic
#360846 #5F0F7D #8915B4 #B021E5 #C458EC

Accessibility & contrast

On white

7.42
#8915B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8915B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8915B4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8915B4#FFFFFF#000000##FFFFFF
##8915B41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#84426A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8915b4;
/* rgb */ color: rgb(137, 21, 180);
/* oklch */ color: oklch(48.1% 0.226 313.6);
Tailwind
colors: {
  custom: {
    50: '#b167cb',
    500: '#8915b4',
    950: '#000000',
  },
}
SCSS
$custom: #8915b4;
$custom-light: #b167cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8915b4",
  "rgb": {
    "r": 137,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 283.774,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.22571,
    "h": 313.6
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#8915B4
secondary
#77CF56
accent
#F63267
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8915B4

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

Preview Lab → · Contrast checker → · Palette generator →

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