#8D5AAA#8D5AAA

#8D5AAA is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.6% C 0.131 H 312.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D5AAA
RGBrgb(141, 90, 170)
HSLhsl(278, 32%, 51%)
HSVhsv(278, 47%, 67%)
CMYKcmyk(17.1%, 47.1%, 0%, 33.3%)
CIE-LABlab(46.81, 35.76, -34.86)
CIE-LCHlch(46.81, 49.94, 315.73°)
OKLaboklab(55.62% 0.0879 -0.097)
OKLCHoklch(55.62% 0.131 312.2)
XYZxyz(21.8951, 15.8778, 39.9337)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AAA #77AA5A
analogous
#655AAA #8D5AAA #AA5A9F
triadic
#8D5AAA #AA8D5A #5AAA8D
tetradic
#8D5AAA #AA655A #77AA5A #5A9FAA
square
#8D5AAA #AA655A #77AA5A #5A9FAA
split-complementary
#8D5AAA #9FAA5A #5AAA65
monochromatic
#4B2F5B #6C4483 #8D5AAA #A982BF #C5ABD4

Accessibility & contrast

On white

5.03
#8D5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8D5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5AAA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AAA#FFFFFF#000000##FFFFFF
##8D5AAA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496CAD
Deuteranopia (green-blind)
#5770A8
Tritanopia (blue-blind)
#8A667A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d5aaa;
/* rgb */ color: rgb(141, 90, 170);
/* oklch */ color: oklch(55.6% 0.131 312.2);
Tailwind
colors: {
  custom: {
    50: '#b08ac3',
    500: '#8d5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8d5aaa;
$custom-light: #b08ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5aaa",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 278.25,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.13089,
    "h": 312.2
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#8D5AAA
secondary
#ABC29E
accent
#C86086
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #8D5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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