#8D5ABE#8D5ABE

#8D5ABE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.155 H 305.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D5ABE
RGBrgb(141, 90, 190)
HSLhsl(271, 43%, 55%)
HSVhsv(271, 53%, 75%)
CMYKcmyk(25.8%, 52.6%, 0%, 25.5%)
CIE-LABlab(47.87, 40.43, -44.86)
CIE-LCHlch(47.87, 60.39, 312.03°)
OKLaboklab(56.75% 0.0902 -0.1261)
OKLCHoklch(56.75% 0.155 305.6)
XYZxyz(23.9330, 16.6929, 50.6664)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ABE #8BBE5A
analogous
#5B5ABE #8D5ABE #BE5ABD
triadic
#8D5ABE #BE8D5A #5ABE8D
tetradic
#8D5ABE #BE5B5A #8BBE5A #5ABDBE
square
#8D5ABE #BE5B5A #8BBE5A #5ABDBE
split-complementary
#8D5ABE #BDBE5A #5ABE5B
monochromatic
#4F2D71 #6E3E9D #8D5ABE #AB86CF #CAB2E1

Accessibility & contrast

On white

4.84
#8D5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8D5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5ABE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ABE#FFFFFF#000000##FFFFFF
##8D5ABE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#4A72BC
Tritanopia (blue-blind)
#856C83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d5abe;
/* rgb */ color: rgb(141, 90, 190);
/* oklch */ color: oklch(56.7% 0.155 305.6);
Tailwind
colors: {
  custom: {
    50: '#b18ad2',
    500: '#8d5abe',
    950: '#000000',
  },
}
SCSS
$custom: #8d5abe;
$custom-light: #b18ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5abe",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 270.6,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.15499,
    "h": 305.6
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#8D5ABE
secondary
#B9CFA5
accent
#D35593
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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