#8D5DF0#8D5DF0

#8D5DF0 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.211 H 294.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF0
RGBrgb(141, 93, 240)
HSLhsl(260, 83%, 65%)
HSVhsv(260, 61%, 94%)
CMYKcmyk(41.3%, 61.2%, 0%, 5.9%)
CIE-LABlab(51.59, 51.44, -67.35)
CIE-LCHlch(51.59, 84.75, 307.37°)
OKLaboklab(60.47% 0.0865 -0.1921)
OKLCHoklch(60.47% 0.211 294.3)
XYZxyz(30.6228, 19.7819, 84.6260)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF0 #C0F05D
analogous
#5D76F0 #8D5DF0 #D75DF0
triadic
#8D5DF0 #F08D5D #5DF08D
tetradic
#8D5DF0 #F05D76 #C0F05D #5DF0D7
square
#8D5DF0 #F05D76 #C0F05D #5DF0D7
split-complementary
#8D5DF0 #F0D75D #76F05D
monochromatic
#4B12C1 #6625EB #8D5DF0 #B495F5 #DCCDFA

Accessibility & contrast

On white

4.24
#8D5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8D5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF0#FFFFFF#000000##000000
##8D5DF01.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#737E9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5df0;
/* rgb */ color: rgb(141, 93, 240);
/* oklch */ color: oklch(60.5% 0.211 294.3);
Tailwind
colors: {
  custom: {
    50: '#b58df6',
    500: '#8d5df0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df0;
$custom-light: #b58df6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df0",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 259.592,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.21066,
    "h": 294.3
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#8D5DF0
secondary
#DDEDBC
accent
#DF0698
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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