#8D5AE5#8D5AE5

#8D5AE5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.202 H 296.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8D5AE5
RGBrgb(141, 90, 229)
HSLhsl(262, 73%, 63%)
HSVhsv(262, 61%, 90%)
CMYKcmyk(38.4%, 60.7%, 0%, 10.2%)
CIE-LABlab(50.25, 50.18, -63.33)
CIE-LCHlch(50.25, 80.80, 308.39°)
OKLaboklab(59.26% 0.0905 -0.1802)
OKLCHoklch(59.26% 0.202 296.7)
XYZxyz(28.7799, 18.6317, 76.1935)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AE5 #B2E55A
analogous
#5A6DE5 #8D5AE5 #D25AE5
triadic
#8D5AE5 #E58D5A #5AE58D
tetradic
#8D5AE5 #E55A6D #B2E55A #5AE5D2
square
#8D5AE5 #E55A6D #B2E55A #5AE5D2
split-complementary
#8D5AE5 #E5D25A #6DE55A
monochromatic
#4F1BAA #6825DD #8D5AE5 #B28FED #D6C4F6

Accessibility & contrast

On white

4.44
#8D5AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8D5AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AE5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AE5#FFFFFF#000000##000000
##8D5AE51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#1476E2
Tritanopia (blue-blind)
#787997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ae5;
/* rgb */ color: rgb(141, 90, 229);
/* oklch */ color: oklch(59.3% 0.202 296.7);
Tailwind
colors: {
  custom: {
    50: '#b48bee',
    500: '#8d5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ae5;
$custom-light: #b48bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ae5",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 262.014,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.20168,
    "h": 296.7
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#8D5AE5
secondary
#D4E7B4
accent
#D5118D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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