#8D5FE4#8D5FE4

#8D5FE4 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.194 H 296.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D5FE4
RGBrgb(141, 95, 228)
HSLhsl(261, 71%, 63%)
HSVhsv(261, 58%, 89%)
CMYKcmyk(38.2%, 58.3%, 0%, 10.6%)
CIE-LABlab(51.21, 47.22, -61.23)
CIE-LCHlch(51.21, 77.32, 307.64°)
OKLaboklab(59.94% 0.0848 -0.1741)
OKLCHoklch(59.94% 0.194 296)
XYZxyz(29.0767, 19.4480, 75.6057)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FE4 #B6E45F
analogous
#5F73E4 #8D5FE4 #CF5FE4
triadic
#8D5FE4 #E48D5F #5FE48D
tetradic
#8D5FE4 #E45F73 #B6E45F #5FE4CF
square
#8D5FE4 #E45F73 #B6E45F #5FE4CF
split-complementary
#8D5FE4 #E4CF5F #73E45F
monochromatic
#4E1DAC #682BDB #8D5FE4 #B293ED #D8C8F6

Accessibility & contrast

On white

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

On black

4.89
#8D5FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FE4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FE4#FFFFFF#000000##000000
##8D5FE41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#077BE8
Deuteranopia (green-blind)
#2678E1
Tritanopia (blue-blind)
#787C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5fe4;
/* rgb */ color: rgb(141, 95, 228);
/* oklch */ color: oklch(59.9% 0.194 296.0);
Tailwind
colors: {
  custom: {
    50: '#b38eed',
    500: '#8d5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fe4;
$custom-light: #b38eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fe4",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 260.752,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.19363,
    "h": 296
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#8D5FE4
secondary
#D7E7B8
accent
#D31290
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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