#8D5CE6#8D5CE6

#8D5CE6 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.200 H 296.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D5CE6
RGBrgb(141, 92, 230)
HSLhsl(261, 73%, 63%)
HSVhsv(261, 60%, 90%)
CMYKcmyk(38.7%, 60%, 0%, 9.8%)
CIE-LABlab(50.72, 49.36, -63.14)
CIE-LCHlch(50.72, 80.15, 308.02°)
OKLaboklab(59.62% 0.0882 -0.1797)
OKLCHoklch(59.62% 0.2 296.1)
XYZxyz(29.0909, 19.0296, 76.9880)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE6 #B5E65C
analogous
#5C70E6 #8D5CE6 #D25CE6
triadic
#8D5CE6 #E68D5C #5CE68D
tetradic
#8D5CE6 #E65C70 #B5E65C #5CE6D2
square
#8D5CE6 #E65C70 #B5E65C #5CE6D2
split-complementary
#8D5CE6 #E6D25C #70E65C
monochromatic
#4F1BAD #6827DE #8D5CE6 #B291EE #D7C6F6

Accessibility & contrast

On white

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

On black

4.81
#8D5CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CE6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CE6#FFFFFF#000000##000000
##8D5CE61.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#1977E3
Tritanopia (blue-blind)
#777A98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5ce6;
/* rgb */ color: rgb(141, 92, 230);
/* oklch */ color: oklch(59.6% 0.200 296.1);
Tailwind
colors: {
  custom: {
    50: '#b48cef',
    500: '#8d5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce6;
$custom-light: #b48cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce6",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 261.304,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.20016,
    "h": 296.1
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#8D5CE6
secondary
#D6E8B6
accent
#D6108F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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