#8D5EE8#8D5EE8

#8D5EE8 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.200 H 295.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D5EE8
RGBrgb(141, 94, 232)
HSLhsl(260, 75%, 64%)
HSVhsv(260, 59%, 91%)
CMYKcmyk(39.2%, 59.5%, 0%, 9%)
CIE-LABlab(51.26, 48.80, -63.40)
CIE-LCHlch(51.26, 80.01, 307.59°)
OKLaboklab(60.06% 0.0858 -0.1804)
OKLCHoklch(60.06% 0.2 295.4)
XYZxyz(29.5489, 19.4937, 78.5341)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EE8 #B9E85E
analogous
#5E74E8 #8D5EE8 #D25EE8
triadic
#8D5EE8 #E88D5E #5EE88D
tetradic
#8D5EE8 #E85E74 #B9E85E #5EE8D2
square
#8D5EE8 #E85E74 #B9E85E #5EE8D2
split-complementary
#8D5EE8 #E8D25E #74E85E
monochromatic
#4D19B2 #6728E0 #8D5EE8 #B394F0 #D9C9F7

Accessibility & contrast

On white

4.29
#8D5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8D5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EE8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EE8#FFFFFF#000000##000000
##8D5EE81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#1A78E5
Tritanopia (blue-blind)
#767C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5ee8;
/* rgb */ color: rgb(141, 94, 232);
/* oklch */ color: oklch(60.1% 0.200 295.4);
Tailwind
colors: {
  custom: {
    50: '#b48ef0',
    500: '#8d5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ee8;
$custom-light: #b48ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ee8",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 260.435,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.19982,
    "h": 295.4
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#8D5EE8
secondary
#D9E9B9
accent
#D70E93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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