#8D5FE1#8D5FE1

#8D5FE1 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.190 H 296.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8D5FE1
RGBrgb(141, 95, 225)
HSLhsl(261, 68%, 63%)
HSVhsv(261, 58%, 88%)
CMYKcmyk(37.3%, 57.8%, 0%, 11.8%)
CIE-LABlab(51.02, 46.44, -59.84)
CIE-LCHlch(51.02, 75.75, 307.81°)
OKLaboklab(59.74% 0.0849 -0.17)
OKLCHoklch(59.74% 0.19 296.5)
XYZxyz(28.6638, 19.2829, 73.4314)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FE1 #B3E15F
analogous
#5F72E1 #8D5FE1 #CE5FE1
triadic
#8D5FE1 #E18D5F #5FE18D
tetradic
#8D5FE1 #E15F72 #B3E15F #5FE1CE
square
#8D5FE1 #E15F72 #B3E15F #5FE1CE
split-complementary
#8D5FE1 #E1CE5F #72E15F
monochromatic
#4F1FA6 #682BD7 #8D5FE1 #B293EB #D6C6F4

Accessibility & contrast

On white

4.32
#8D5FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8D5FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FE1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FE1#FFFFFF#000000##000000
##8D5FE11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#147AE5
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#797B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5fe1;
/* rgb */ color: rgb(141, 95, 225);
/* oklch */ color: oklch(59.7% 0.190 296.5);
Tailwind
colors: {
  custom: {
    50: '#b38eeb',
    500: '#8d5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fe1;
$custom-light: #b38eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fe1",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 261.231,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.19,
    "h": 296.5
  },
  "luminance": 0.19283
}

Semantic roles & 50–950 ramp

primary
#8D5FE1
secondary
#D5E5B6
accent
#D0158E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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