#8D5AE6#8D5AE6

#8D5AE6 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.203 H 296.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D5AE6
RGBrgb(141, 90, 230)
HSLhsl(262, 74%, 63%)
HSVhsv(262, 61%, 90%)
CMYKcmyk(38.7%, 60.9%, 0%, 9.8%)
CIE-LABlab(50.32, 50.44, -63.79)
CIE-LCHlch(50.32, 81.32, 308.33°)
OKLaboklab(59.33% 0.0904 -0.1816)
OKLCHoklch(59.33% 0.203 296.5)
XYZxyz(28.9199, 18.6877, 76.9310)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AE6 #B3E65A
analogous
#5A6DE6 #8D5AE6 #D35AE6
triadic
#8D5AE6 #E68D5A #5AE68D
tetradic
#8D5AE6 #E65A6D #B3E65A #5AE6D3
square
#8D5AE6 #E65A6D #B3E65A #5AE6D3
split-complementary
#8D5AE6 #E6D35A #6DE65A
monochromatic
#4F1AAC #6825DE #8D5AE6 #B28FEE #D6C4F6

Accessibility & contrast

On white

4.43
#8D5AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8D5AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AE6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AE6#FFFFFF#000000##000000
##8D5AE61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#1176E3
Tritanopia (blue-blind)
#777998
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ae6;
/* rgb */ color: rgb(141, 90, 230);
/* oklch */ color: oklch(59.3% 0.203 296.5);
Tailwind
colors: {
  custom: {
    50: '#b48bef',
    500: '#8d5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ae6;
$custom-light: #b48bef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ae6",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 261.857,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59331,
    "c": 0.20287,
    "h": 296.5
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#8D5AE6
secondary
#D5E7B5
accent
#D6108E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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