#8D5DF3#8D5DF3

#8D5DF3 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.214 H 293.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF3
RGBrgb(141, 93, 243)
HSLhsl(259, 86%, 66%)
HSVhsv(259, 62%, 95%)
CMYKcmyk(42%, 61.7%, 0%, 4.7%)
CIE-LABlab(51.79, 52.23, -68.70)
CIE-LCHlch(51.79, 86.29, 307.24°)
OKLaboklab(60.68% 0.0863 -0.196)
OKLCHoklch(60.68% 0.214 293.8)
XYZxyz(31.0722, 19.9617, 86.9925)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF3 #C3F35D
analogous
#5D78F3 #8D5DF3 #D85DF3
triadic
#8D5DF3 #F38D5D #5DF38D
tetradic
#8D5DF3 #F35D78 #C3F35D #5DF3D8
square
#8D5DF3 #F35D78 #C3F35D #5DF3D8
split-complementary
#8D5DF3 #F3D85D #78F35D
monochromatic
#4A0FC7 #6524EF #8D5DF3 #B596F7 #DDCFFB

Accessibility & contrast

On white

4.21
#8D5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF3#FFFFFF#000000##000000
##8D5DF31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#717FA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5df3;
/* rgb */ color: rgb(141, 93, 243);
/* oklch */ color: oklch(60.7% 0.214 293.8);
Tailwind
colors: {
  custom: {
    50: '#b58df8',
    500: '#8d5df3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df3;
$custom-light: #b58df8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df3",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 259.2,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.21419,
    "h": 293.8
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#8D5DF3
secondary
#DFEFBD
accent
#E3039B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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