#8D5DF7#8D5DF7

#8D5DF7 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.219 H 293.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF7
RGBrgb(141, 93, 247)
HSLhsl(259, 91%, 67%)
HSVhsv(259, 62%, 97%)
CMYKcmyk(42.9%, 62.3%, 0%, 3.1%)
CIE-LABlab(52.07, 53.28, -70.48)
CIE-LCHlch(52.07, 88.35, 307.09°)
OKLaboklab(60.97% 0.086 -0.2013)
OKLCHoklch(60.97% 0.219 293.1)
XYZxyz(31.6828, 20.2059, 90.2085)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF7 #C7F75D
analogous
#5D7AF7 #8D5DF7 #DA5DF7
triadic
#8D5DF7 #F78D5D #5DF78D
tetradic
#8D5DF7 #F75D7A #C7F75D #5DF7DA
square
#8D5DF7 #F75D7A #C7F75D #5DF7DA
split-complementary
#8D5DF7 #F7DA5D #7AF75D
monochromatic
#480ACF #6423F4 #8D5DF7 #B697FA #DFD2FD

Accessibility & contrast

On white

4.17
#8D5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF7#FFFFFF#000000##000000
##8D5DF71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#6F81A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5df7;
/* rgb */ color: rgb(141, 93, 247);
/* oklch */ color: oklch(61.0% 0.219 293.1);
Tailwind
colors: {
  custom: {
    50: '#b58dfb',
    500: '#8d5df7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df7;
$custom-light: #b58dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df7",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 258.701,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.21889,
    "h": 293.1
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#8D5DF7
secondary
#E1F1BF
accent
#E6009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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