#8D5AE0#8D5AE0

#8D5AE0 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.196 H 297.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D5AE0
RGBrgb(141, 90, 224)
HSLhsl(263, 68%, 62%)
HSVhsv(263, 60%, 88%)
CMYKcmyk(37.1%, 59.8%, 0%, 12.2%)
CIE-LABlab(49.93, 48.89, -61.04)
CIE-LCHlch(49.93, 78.20, 308.70°)
OKLaboklab(58.92% 0.0907 -0.1735)
OKLCHoklch(58.92% 0.196 297.6)
XYZxyz(28.0918, 18.3565, 72.5697)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AE0 #ADE05A
analogous
#5A6AE0 #8D5AE0 #D05AE0
triadic
#8D5AE0 #E08D5A #5AE08D
tetradic
#8D5AE0 #E05A6A #ADE05A #5AE0D0
square
#8D5AE0 #E05A6A #ADE05A #5AE0D0
split-complementary
#8D5AE0 #E0D05A #6AE05A
monochromatic
#501EA1 #6A28D5 #8D5AE0 #B18EEA #D4C1F3

Accessibility & contrast

On white

4.50
#8D5AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8D5AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AE0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AE0#FFFFFF#000000##000000
##8D5AE01.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#2275DD
Tritanopia (blue-blind)
#7A7795
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5ae0;
/* rgb */ color: rgb(141, 90, 224);
/* oklch */ color: oklch(58.9% 0.196 297.6);
Tailwind
colors: {
  custom: {
    50: '#b38bea',
    500: '#8d5ae0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ae0;
$custom-light: #b38bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ae0",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 262.836,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58918,
    "c": 0.19579,
    "h": 297.6
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#8D5AE0
secondary
#D1E4B2
accent
#D01589
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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