#8B15B4#8B15B4

#8B15B4 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.4% C 0.226 H 314.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8B15B4
RGBrgb(139, 21, 180)
HSLhsl(285, 79%, 39%)
HSVhsv(285, 88%, 71%)
CMYKcmyk(22.8%, 88.3%, 0%, 29.4%)
CIE-LABlab(36.60, 66.43, -57.14)
CIE-LCHlch(36.60, 87.62, 319.30°)
OKLaboklab(48.38% 0.1583 -0.1618)
OKLCHoklch(48.38% 0.226 314.4)
XYZxyz(19.1524, 9.3213, 43.9615)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B15B4 #3EB415
analogous
#3B15B4 #8B15B4 #B4158E
triadic
#8B15B4 #B48B15 #15B48B
tetradic
#8B15B4 #B43B15 #3EB415 #158EB4
square
#8B15B4 #B43B15 #3EB415 #158EB4
split-complementary
#8B15B4 #8EB415 #15B43B
monochromatic
#360846 #610F7D #8B15B4 #B321E5 #C558EC

Accessibility & contrast

On white

7.33
#8B15B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B15B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B15B4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B15B4#FFFFFF#000000##FFFFFF
##8B15B41.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#87426A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b15b4;
/* rgb */ color: rgb(139, 21, 180);
/* oklch */ color: oklch(48.4% 0.226 314.4);
Tailwind
colors: {
  custom: {
    50: '#b267cb',
    500: '#8b15b4',
    950: '#000000',
  },
}
SCSS
$custom: #8b15b4;
$custom-light: #b267cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b15b4",
  "rgb": {
    "r": 139,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 284.528,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.2263,
    "h": 314.4
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#8B15B4
secondary
#75CF56
accent
#F63265
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8B15B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8B15B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva