#8D5ABB#8D5ABB

#8D5ABB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.151 H 306.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8D5ABB
RGBrgb(141, 90, 187)
HSLhsl(272, 42%, 54%)
HSVhsv(272, 52%, 73%)
CMYKcmyk(24.6%, 51.9%, 0%, 26.7%)
CIE-LABlab(47.70, 39.71, -43.38)
CIE-LCHlch(47.70, 58.82, 312.47°)
OKLaboklab(56.57% 0.0899 -0.1217)
OKLCHoklch(56.57% 0.151 306.5)
XYZxyz(23.6085, 16.5631, 48.9574)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ABB #88BB5A
analogous
#5D5ABB #8D5ABB #BB5AB9
triadic
#8D5ABB #BB8D5A #5ABB8D
tetradic
#8D5ABB #BB5D5A #88BB5A #5AB9BB
square
#8D5ABB #BB5D5A #88BB5A #5AB9BB
split-complementary
#8D5ABB #B9BB5A #5ABB5D
monochromatic
#4F2D6D #6E3F99 #8D5ABB #AB85CD #C9B1DF

Accessibility & contrast

On white

4.87
#8D5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8D5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5ABB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ABB#FFFFFF#000000##FFFFFF
##8D5ABB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBE
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#866B82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5abb;
/* rgb */ color: rgb(141, 90, 187);
/* oklch */ color: oklch(56.6% 0.151 306.5);
Tailwind
colors: {
  custom: {
    50: '#b18ad0',
    500: '#8d5abb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5abb;
$custom-light: #b18ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5abb",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 271.546,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56572,
    "c": 0.15136,
    "h": 306.5
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#8D5ABB
secondary
#B7CDA4
accent
#D15691
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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