#8D5FF1#8D5FF1

#8D5FF1 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.209 H 293.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D5FF1
RGBrgb(141, 95, 241)
HSLhsl(259, 84%, 66%)
HSVhsv(259, 61%, 95%)
CMYKcmyk(41.5%, 60.6%, 0%, 5.5%)
CIE-LABlab(52.06, 50.63, -67.15)
CIE-LCHlch(52.06, 84.10, 307.01°)
OKLaboklab(60.83% 0.0843 -0.1915)
OKLCHoklch(60.83% 0.209 293.8)
XYZxyz(30.9496, 20.1972, 85.4698)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FF1 #C3F15F
analogous
#5F7AF1 #8D5FF1 #D65FF1
triadic
#8D5FF1 #F18D5F #5FF18D
tetradic
#8D5FF1 #F15F7A #C3F15F #5FF1D6
square
#8D5FF1 #F15F7A #C3F15F #5FF1D6
split-complementary
#8D5FF1 #F1D65F #7AF15F
monochromatic
#4A11C4 #6527EC #8D5FF1 #B597F6 #DDD0FB

Accessibility & contrast

On white

4.17
#8D5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FF1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FF1#FFFFFF#000000##000000
##8D5FF11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#72809F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5ff1;
/* rgb */ color: rgb(141, 95, 241);
/* oklch */ color: oklch(60.8% 0.209 293.8);
Tailwind
colors: {
  custom: {
    50: '#b58ef6',
    500: '#8d5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ff1;
$custom-light: #b58ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ff1",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 258.904,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.20922,
    "h": 293.8
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#8D5FF1
secondary
#DFEEBE
accent
#E0059B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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