#8D5FE6#8D5FE6

#8D5FE6 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.196 H 295.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D5FE6
RGBrgb(141, 95, 230)
HSLhsl(260, 73%, 64%)
HSVhsv(260, 59%, 90%)
CMYKcmyk(38.7%, 58.7%, 0%, 9.8%)
CIE-LABlab(51.34, 47.74, -62.15)
CIE-LCHlch(51.34, 78.37, 307.53°)
OKLaboklab(60.07% 0.0848 -0.1768)
OKLCHoklch(60.07% 0.196 295.6)
XYZxyz(29.3559, 19.5597, 77.0763)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FE6 #B8E65F
analogous
#5F74E6 #8D5FE6 #D05FE6
triadic
#8D5FE6 #E68D5F #5FE68D
tetradic
#8D5FE6 #E65F74 #B8E65F #5FE6D0
square
#8D5FE6 #E65F74 #B8E65F #5FE6D0
split-complementary
#8D5FE6 #E6D05F #74E65F
monochromatic
#4E1BAF #672ADE #8D5FE6 #B394EE #D8C9F7

Accessibility & contrast

On white

4.28
#8D5FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FE6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FE6#FFFFFF#000000##000000
##8D5FE61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#2278E3
Tritanopia (blue-blind)
#777C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5fe6;
/* rgb */ color: rgb(141, 95, 230);
/* oklch */ color: oklch(60.1% 0.196 295.6);
Tailwind
colors: {
  custom: {
    50: '#b48eef',
    500: '#8d5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fe6;
$custom-light: #b48eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fe6",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 260.444,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.19604,
    "h": 295.6
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#8D5FE6
secondary
#D8E8B9
accent
#D51092
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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