#8518B4#8518B4

#8518B4 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.7% C 0.223 H 312.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8518B4
RGBrgb(133, 24, 180)
HSLhsl(282, 76%, 40%)
HSVhsv(282, 87%, 71%)
CMYKcmyk(26.1%, 86.7%, 0%, 29.4%)
CIE-LABlab(35.86, 64.85, -58.38)
CIE-LCHlch(35.86, 87.25, 318.01°)
OKLaboklab(47.68% 0.1489 -0.1656)
OKLCHoklch(47.68% 0.223 312)
XYZxyz(18.2362, 8.9356, 43.9353)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8518B4 #47B418
analogous
#3718B4 #8518B4 #B41895
triadic
#8518B4 #B48518 #18B485
tetradic
#8518B4 #B43718 #47B418 #1895B4
square
#8518B4 #B43718 #47B418 #1895B4
split-complementary
#8518B4 #95B418 #18B437
monochromatic
#350A48 #5D117E #8518B4 #AA27E2 #BF5DE9

Accessibility & contrast

On white

7.53
#8518B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8518B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8518B4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8518B4#FFFFFF#000000##FFFFFF
##8518B41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#7F446B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8518b4;
/* rgb */ color: rgb(133, 24, 180);
/* oklch */ color: oklch(47.7% 0.223 312.0);
Tailwind
colors: {
  custom: {
    50: '#ae67cb',
    500: '#8518b4',
    950: '#000000',
  },
}
SCSS
$custom: #8518b4;
$custom-light: #ae67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8518b4",
  "rgb": {
    "r": 133,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 281.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.2227,
    "h": 312
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#8518B4
secondary
#7DCD5B
accent
#F3356E
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8518B4

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

Preview Lab → · Contrast checker → · Palette generator →

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