#8D5AE4#8D5AE4

#8D5AE4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.201 H 296.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8D5AE4
RGBrgb(141, 90, 228)
HSLhsl(262, 72%, 62%)
HSVhsv(262, 61%, 89%)
CMYKcmyk(38.2%, 60.5%, 0%, 10.6%)
CIE-LABlab(50.19, 49.92, -62.87)
CIE-LCHlch(50.19, 80.28, 308.45°)
OKLaboklab(59.19% 0.0906 -0.1789)
OKLCHoklch(59.19% 0.201 296.8)
XYZxyz(28.6407, 18.5760, 75.4603)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AE4 #B1E45A
analogous
#5A6CE4 #8D5AE4 #D25AE4
triadic
#8D5AE4 #E48D5A #5AE48D
tetradic
#8D5AE4 #E45A6C #B1E45A #5AE4D2
square
#8D5AE4 #E45A6C #B1E45A #5AE4D2
split-complementary
#8D5AE4 #E4D25A #6CE45A
monochromatic
#4F1CA8 #6925DB #8D5AE4 #B18FED #D6C3F5

Accessibility & contrast

On white

4.45
#8D5AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8D5AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AE4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AE4#FFFFFF#000000##000000
##8D5AE41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#1876E1
Tritanopia (blue-blind)
#787897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5ae4;
/* rgb */ color: rgb(141, 90, 228);
/* oklch */ color: oklch(59.2% 0.201 296.8);
Tailwind
colors: {
  custom: {
    50: '#b48bed',
    500: '#8d5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ae4;
$custom-light: #b48bed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ae4",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 262.174,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.20051,
    "h": 296.8
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

primary
#8D5AE4
secondary
#D3E6B4
accent
#D4128C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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