#8D5FE7#8D5FE7

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

Color values

HEX#8D5FE7
RGBrgb(141, 95, 231)
HSLhsl(260, 74%, 64%)
HSVhsv(260, 59%, 91%)
CMYKcmyk(39%, 58.9%, 0%, 9.4%)
CIE-LABlab(51.40, 48.00, -62.61)
CIE-LCHlch(51.40, 78.89, 307.48°)
OKLaboklab(60.14% 0.0847 -0.1781)
OKLCHoklch(60.14% 0.197 295.4)
XYZxyz(29.4968, 19.6161, 77.8180)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FE7 #B9E75F
analogous
#5F75E7 #8D5FE7 #D15FE7
triadic
#8D5FE7 #E78D5F #5FE78D
tetradic
#8D5FE7 #E75F75 #B9E75F #5FE7D1
square
#8D5FE7 #E75F75 #B9E75F #5FE7D1
split-complementary
#8D5FE7 #E7D15F #75E75F
monochromatic
#4D1BB1 #672ADF #8D5FE7 #B394EF #D9C9F7

Accessibility & contrast

On white

4.27
#8D5FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8D5FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FE7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FE7#FFFFFF#000000##000000
##8D5FE71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2078E4
Tritanopia (blue-blind)
#767D9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5fe7;
/* rgb */ color: rgb(141, 95, 231);
/* oklch */ color: oklch(60.1% 0.197 295.4);
Tailwind
colors: {
  custom: {
    50: '#b48eef',
    500: '#8d5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fe7;
$custom-light: #b48eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fe7",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 260.294,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6014,
    "c": 0.19725,
    "h": 295.4
  },
  "luminance": 0.19617
}

Semantic roles & 50–950 ramp

primary
#8D5FE7
secondary
#D9E9B9
accent
#D60F93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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