#8D5AC8#8D5AC8

#8D5AC8 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.167 H 302.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D5AC8
RGBrgb(141, 90, 200)
HSLhsl(268, 50%, 57%)
HSVhsv(268, 55%, 78%)
CMYKcmyk(29.5%, 55%, 0%, 21.6%)
CIE-LABlab(48.44, 42.86, -49.72)
CIE-LCHlch(48.44, 65.65, 310.76°)
OKLaboklab(57.36% 0.0907 -0.1403)
OKLCHoklch(57.36% 0.167 302.9)
XYZxyz(25.0636, 17.1452, 56.6213)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AC8 #95C85A
analogous
#5A5EC8 #8D5AC8 #C45AC8
triadic
#8D5AC8 #C88D5A #5AC88D
tetradic
#8D5AC8 #C85A5E #95C85A #5AC8C4
square
#8D5AC8 #C85A5E #95C85A #5AC8C4
split-complementary
#8D5AC8 #C8C45A #5EC85A
monochromatic
#512A7E #6E39AC #8D5AC8 #AD88D7 #CCB6E7

Accessibility & contrast

On white

4.74
#8D5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8D5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5AC8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AC8#FFFFFF#000000##FFFFFF
##8D5AC81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#826F88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d5ac8;
/* rgb */ color: rgb(141, 90, 200);
/* oklch */ color: oklch(57.4% 0.167 302.9);
Tailwind
colors: {
  custom: {
    50: '#b18ad9',
    500: '#8d5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ac8;
$custom-light: #b18ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ac8",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 267.818,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57355,
    "c": 0.16707,
    "h": 302.9
  },
  "luminance": 0.17145
}

Semantic roles & 50–950 ramp

primary
#8D5AC8
secondary
#C1D5A8
accent
#DA4E99
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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