#8C5AED#8C5AED

#8C5AED is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.211 H 294.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8C5AED
RGBrgb(140, 90, 237)
HSLhsl(260, 80%, 64%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(40.9%, 62%, 0%, 7.1%)
CIE-LABlab(50.69, 52.04, -67.13)
CIE-LCHlch(50.69, 84.94, 307.78°)
OKLaboklab(59.72% 0.0887 -0.1914)
OKLCHoklch(59.72% 0.211 294.9)
XYZxyz(29.7534, 19.0015, 82.2044)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5AED #BBED5A
analogous
#5A72ED #8C5AED #D65AED
triadic
#8C5AED #ED8C5A #5AED8C
tetradic
#8C5AED #ED5A72 #BBED5A #5AEDD6
square
#8C5AED #ED5A72 #BBED5A #5AEDD6
split-complementary
#8C5AED #EDD65A #72ED5A
monochromatic
#4C14B8 #6623E7 #8C5AED #B291F3 #D9C8F9

Accessibility & contrast

On white

4.37
#8C5AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8C5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5AED
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5AED#FFFFFF#000000##000000
##8C5AED1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#737B9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8c5aed;
/* rgb */ color: rgb(140, 90, 237);
/* oklch */ color: oklch(59.7% 0.211 294.9);
Tailwind
colors: {
  custom: {
    50: '#b48bf4',
    500: '#8c5aed',
    950: '#000000',
  },
}
SCSS
$custom: #8c5aed;
$custom-light: #b48bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5aed",
  "rgb": {
    "r": 140,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 260.408,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59725,
    "c": 0.211,
    "h": 294.9
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#8C5AED
secondary
#DAEBB8
accent
#DD0995
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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