#8D5AC2#8D5AC2

#8D5AC2 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.160 H 304.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D5AC2
RGBrgb(141, 90, 194)
HSLhsl(269, 46%, 56%)
HSVhsv(269, 54%, 76%)
CMYKcmyk(27.3%, 53.6%, 0%, 23.9%)
CIE-LABlab(48.10, 41.40, -46.82)
CIE-LCHlch(48.10, 62.49, 311.48°)
OKLaboklab(56.99% 0.0904 -0.1318)
OKLCHoklch(56.99% 0.16 304.5)
XYZxyz(24.3762, 16.8702, 53.0006)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AC2 #8FC25A
analogous
#5A5BC2 #8D5AC2 #C15AC2
triadic
#8D5AC2 #C28D5A #5AC28D
tetradic
#8D5AC2 #C25A5B #8FC25A #5AC2C1
square
#8D5AC2 #C25A5B #8FC25A #5AC2C1
split-complementary
#8D5AC2 #C2C15A #5BC25A
monochromatic
#502C76 #6E3CA3 #8D5AC2 #AC87D3 #CBB3E3

Accessibility & contrast

On white

4.80
#8D5AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8D5AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5AC2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AC2#FFFFFF#000000##FFFFFF
##8D5AC21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3771C6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#846D85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d5ac2;
/* rgb */ color: rgb(141, 90, 194);
/* oklch */ color: oklch(57.0% 0.160 304.5);
Tailwind
colors: {
  custom: {
    50: '#b18ad5',
    500: '#8d5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ac2;
$custom-light: #b18ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ac2",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 269.423,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.15983,
    "h": 304.5
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#8D5AC2
secondary
#BCD2A6
accent
#D65295
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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