#8D5AC0#8D5AC0

#8D5AC0 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.157 H 305.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D5AC0
RGBrgb(141, 90, 192)
HSLhsl(270, 45%, 55%)
HSVhsv(270, 53%, 75%)
CMYKcmyk(26.6%, 53.1%, 0%, 24.7%)
CIE-LABlab(47.98, 40.91, -45.84)
CIE-LCHlch(47.98, 61.44, 311.75°)
OKLaboklab(56.87% 0.0903 -0.1289)
OKLCHoklch(56.87% 0.157 305)
XYZxyz(24.1531, 16.7810, 51.8256)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AC0 #8DC05A
analogous
#5A5AC0 #8D5AC0 #C05AC0
triadic
#8D5AC0 #C08D5A #5AC08D
tetradic
#8D5AC0 #C05A5A #8DC05A #5AC0C0
square
#8D5AC0 #C05A5A #8DC05A #5AC0C0
split-complementary
#8D5AC0 #C0C05A #5AC05A
monochromatic
#502C73 #6E3DA0 #8D5AC0 #AC86D1 #CAB3E2

Accessibility & contrast

On white

4.82
#8D5AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8D5AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5AC0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AC0#FFFFFF#000000##FFFFFF
##8D5AC01.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C3
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#846D84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d5ac0;
/* rgb */ color: rgb(141, 90, 192);
/* oklch */ color: oklch(56.9% 0.157 305.0);
Tailwind
colors: {
  custom: {
    50: '#b18ad3',
    500: '#8d5ac0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ac0;
$custom-light: #b18ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ac0",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 270,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.1574,
    "h": 305
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#8D5AC0
secondary
#BBD0A6
accent
#D45394
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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