#8D5EEE#8D5EEE

#8D5EEE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.207 H 294.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D5EEE
RGBrgb(141, 94, 238)
HSLhsl(260, 81%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.8%, 60.5%, 0%, 6.7%)
CIE-LABlab(51.66, 50.38, -66.12)
CIE-LCHlch(51.66, 83.13, 307.30°)
OKLaboklab(60.47% 0.0856 -0.1885)
OKLCHoklch(60.47% 0.207 294.4)
XYZxyz(30.4157, 19.8404, 83.0994)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EEE #BFEE5E
analogous
#5E77EE #8D5EEE #D55EEE
triadic
#8D5EEE #EE8D5E #5EEE8D
tetradic
#8D5EEE #EE5E77 #BFEE5E #5EEED5
square
#8D5EEE #EE5E77 #BFEE5E #5EEED5
split-complementary
#8D5EEE #EED55E #77EE5E
monochromatic
#4B14BE #6627E8 #8D5EEE #B495F4 #DBCDFA

Accessibility & contrast

On white

4.23
#8D5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8D5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EEE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EEE#FFFFFF#000000##000000
##8D5EEE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#737E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5eee;
/* rgb */ color: rgb(141, 94, 238);
/* oklch */ color: oklch(60.5% 0.207 294.4);
Tailwind
colors: {
  custom: {
    50: '#b48ef4',
    500: '#8d5eee',
    950: '#000000',
  },
}
SCSS
$custom: #8d5eee;
$custom-light: #b48ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5eee",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 259.583,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60473,
    "c": 0.20697,
    "h": 294.4
  },
  "luminance": 0.19841
}

Semantic roles & 50–950 ramp

primary
#8D5EEE
secondary
#DCECBB
accent
#DD0898
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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