#8D5AEA#8D5AEA

#8D5AEA is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.208 H 295.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D5AEA
RGBrgb(141, 90, 234)
HSLhsl(261, 77%, 64%)
HSVhsv(261, 62%, 92%)
CMYKcmyk(39.7%, 61.5%, 0%, 8.2%)
CIE-LABlab(50.59, 51.47, -65.61)
CIE-LCHlch(50.59, 83.39, 308.11°)
OKLaboklab(59.61% 0.0902 -0.1869)
OKLCHoklch(59.61% 0.208 295.8)
XYZxyz(29.4881, 18.9150, 79.9233)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AEA #B7EA5A
analogous
#5A6FEA #8D5AEA #D55AEA
triadic
#8D5AEA #EA8D5A #5AEA8D
tetradic
#8D5AEA #EA5A6F #B7EA5A #5AEAD5
square
#8D5AEA #EA5A6F #B7EA5A #5AEAD5
split-complementary
#8D5AEA #EAD55A #6FEA5A
monochromatic
#4E17B3 #6724E3 #8D5AEA #B390F1 #D8C7F8

Accessibility & contrast

On white

4.39
#8D5AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8D5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AEA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AEA#FFFFFF#000000##000000
##8D5AEA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#757A9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5aea;
/* rgb */ color: rgb(141, 90, 234);
/* oklch */ color: oklch(59.6% 0.208 295.8);
Tailwind
colors: {
  custom: {
    50: '#b48bf2',
    500: '#8d5aea',
    950: '#000000',
  },
}
SCSS
$custom: #8d5aea;
$custom-light: #b48bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5aea",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 261.25,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.20756,
    "h": 295.8
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#8D5AEA
secondary
#D7E9B6
accent
#DA0C91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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