#8D5FE9#8D5FE9

#8D5FE9 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.3% C 0.200 H 295.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D5FE9
RGBrgb(141, 95, 233)
HSLhsl(260, 76%, 64%)
HSVhsv(260, 59%, 91%)
CMYKcmyk(39.5%, 59.2%, 0%, 8.6%)
CIE-LABlab(51.53, 48.52, -63.52)
CIE-LCHlch(51.53, 79.93, 307.38°)
OKLaboklab(60.28% 0.0847 -0.1808)
OKLCHoklch(60.28% 0.2 295.1)
XYZxyz(29.7808, 19.7297, 79.3142)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FE9 #BBE95F
analogous
#5F76E9 #8D5FE9 #D25FE9
triadic
#8D5FE9 #E98D5F #5FE98D
tetradic
#8D5FE9 #E95F76 #BBE95F #5FE9D2
square
#8D5FE9 #E95F76 #BBE95F #5FE9D2
split-complementary
#8D5FE9 #E9D25F #76E95F
monochromatic
#4D19B5 #6729E2 #8D5FE9 #B395F0 #DACBF8

Accessibility & contrast

On white

4.25
#8D5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8D5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FE9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FE9#FFFFFF#000000##000000
##8D5FE91.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#1A79E6
Tritanopia (blue-blind)
#767D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5fe9;
/* rgb */ color: rgb(141, 95, 233);
/* oklch */ color: oklch(60.3% 0.200 295.1);
Tailwind
colors: {
  custom: {
    50: '#b48ef1',
    500: '#8d5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fe9;
$custom-light: #b48ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fe9",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 260,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.19965,
    "h": 295.1
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#8D5FE9
secondary
#DAEABA
accent
#D80D95
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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