#8D5FE5#8D5FE5

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

Color values

HEX#8D5FE5
RGBrgb(141, 95, 229)
HSLhsl(261, 72%, 64%)
HSVhsv(261, 59%, 90%)
CMYKcmyk(38.4%, 58.5%, 0%, 10.2%)
CIE-LABlab(51.27, 47.48, -61.69)
CIE-LCHlch(51.27, 77.84, 307.58°)
OKLaboklab(60% 0.0848 -0.1754)
OKLCHoklch(60% 0.195 295.8)
XYZxyz(29.2159, 19.5037, 76.3389)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FE5 #B7E55F
analogous
#5F74E5 #8D5FE5 #D05FE5
triadic
#8D5FE5 #E58D5F #5FE58D
tetradic
#8D5FE5 #E55F74 #B7E55F #5FE5D0
square
#8D5FE5 #E55F74 #B7E55F #5FE5D0
split-complementary
#8D5FE5 #E5D05F #74E55F
monochromatic
#4E1CAD #672ADC #8D5FE5 #B394EE #D8C8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5FE5#FFFFFF#000000##000000
##8D5FE51.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)
#027BE9
Deuteranopia (green-blind)
#2478E2
Tritanopia (blue-blind)
#777C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5fe5;
/* rgb */ color: rgb(141, 95, 229);
/* oklch */ color: oklch(60.0% 0.195 295.8);
Tailwind
colors: {
  custom: {
    50: '#b38eee',
    500: '#8d5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fe5;
$custom-light: #b38eee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fe5",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 260.597,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60004,
    "c": 0.19483,
    "h": 295.8
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#8D5FE5
secondary
#D7E8B8
accent
#D41191
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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