#8D5DF2#8D5DF2

#8D5DF2 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.213 H 293.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF2
RGBrgb(141, 93, 242)
HSLhsl(259, 85%, 66%)
HSVhsv(259, 62%, 95%)
CMYKcmyk(41.7%, 61.6%, 0%, 5.1%)
CIE-LABlab(51.73, 51.96, -68.25)
CIE-LCHlch(51.73, 85.78, 307.28°)
OKLaboklab(60.61% 0.0864 -0.1947)
OKLCHoklch(60.61% 0.213 293.9)
XYZxyz(30.9216, 19.9014, 86.1994)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF2 #C2F25D
analogous
#5D77F2 #8D5DF2 #D85DF2
triadic
#8D5DF2 #F28D5D #5DF28D
tetradic
#8D5DF2 #F25D77 #C2F25D #5DF2D8
square
#8D5DF2 #F25D77 #C2F25D #5DF2D8
split-complementary
#8D5DF2 #F2D85D #77F25D
monochromatic
#4A10C5 #6524ED #8D5DF2 #B596F7 #DDCEFB

Accessibility & contrast

On white

4.22
#8D5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8D5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF2#FFFFFF#000000##000000
##8D5DF21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#727F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5df2;
/* rgb */ color: rgb(141, 93, 242);
/* oklch */ color: oklch(60.6% 0.213 293.9);
Tailwind
colors: {
  custom: {
    50: '#b58df7',
    500: '#8d5df2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df2;
$custom-light: #b58df7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df2",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 259.329,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.21302,
    "h": 293.9
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#8D5DF2
secondary
#DEEEBD
accent
#E2049A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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