#8D5AE8#8D5AE8

#8D5AE8 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.205 H 296.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8D5AE8
RGBrgb(141, 90, 232)
HSLhsl(262, 76%, 63%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(39.2%, 61.2%, 0%, 9%)
CIE-LABlab(50.45, 50.95, -64.70)
CIE-LCHlch(50.45, 82.35, 308.22°)
OKLaboklab(59.47% 0.0903 -0.1843)
OKLCHoklch(59.47% 0.205 296.1)
XYZxyz(29.2024, 18.8007, 78.4186)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AE8 #B5E85A
analogous
#5A6EE8 #8D5AE8 #D45AE8
triadic
#8D5AE8 #E88D5A #5AE88D
tetradic
#8D5AE8 #E85A6E #B5E85A #5AE8D4
square
#8D5AE8 #E85A6E #B5E85A #5AE8D4
split-complementary
#8D5AE8 #E8D45A #6EE85A
monochromatic
#4F18AF #6824E1 #8D5AE8 #B290EF #D7C5F7

Accessibility & contrast

On white

4.41
#8D5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8D5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AE8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AE8#FFFFFF#000000##000000
##8D5AE81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#0676E5
Tritanopia (blue-blind)
#767A99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ae8;
/* rgb */ color: rgb(141, 90, 232);
/* oklch */ color: oklch(59.5% 0.205 296.1);
Tailwind
colors: {
  custom: {
    50: '#b48bf0',
    500: '#8d5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ae8;
$custom-light: #b48bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ae8",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 261.549,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.20522,
    "h": 296.1
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#8D5AE8
secondary
#D6E8B5
accent
#D80E8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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