#8D5AD8#8D5AD8

#8D5AD8 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.186 H 299.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8D5AD8
RGBrgb(141, 90, 216)
HSLhsl(264, 62%, 60%)
HSVhsv(264, 58%, 85%)
CMYKcmyk(34.7%, 58.3%, 0%, 15.3%)
CIE-LABlab(49.41, 46.86, -57.32)
CIE-LCHlch(49.41, 74.03, 309.26°)
OKLaboklab(58.38% 0.0909 -0.1626)
OKLCHoklch(58.38% 0.186 299.2)
XYZxyz(27.0323, 17.9327, 66.9896)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AD8 #A5D85A
analogous
#5A66D8 #8D5AD8 #CC5AD8
triadic
#8D5AD8 #D88D5A #5AD88D
tetradic
#8D5AD8 #D85A66 #A5D85A #5AD8CC
square
#8D5AD8 #D85A66 #A5D85A #5AD8CC
split-complementary
#8D5AD8 #D8CC5A #66D85A
monochromatic
#512395 #6C2FC6 #8D5AD8 #AF8BE4 #D1BDEF

Accessibility & contrast

On white

4.58
#8D5AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8D5AD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AD8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AD8#FFFFFF#000000##000000
##8D5AD81.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1575DC
Deuteranopia (green-blind)
#3074D5
Tritanopia (blue-blind)
#7D7490
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5ad8;
/* rgb */ color: rgb(141, 90, 216);
/* oklch */ color: oklch(58.4% 0.186 299.2);
Tailwind
colors: {
  custom: {
    50: '#b38be5',
    500: '#8d5ad8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ad8;
$custom-light: #b38be5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ad8",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 216
  },
  "hsl": {
    "h": 264.286,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.18628,
    "h": 299.2
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#8D5AD8
secondary
#CCDFAF
accent
#E543A3
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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