#8D5DF8#8D5DF8

#8D5DF8 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.220 H 293.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF8
RGBrgb(141, 93, 248)
HSLhsl(259, 92%, 67%)
HSVhsv(259, 63%, 97%)
CMYKcmyk(43.1%, 62.5%, 0%, 2.7%)
CIE-LABlab(52.14, 53.54, -70.93)
CIE-LCHlch(52.14, 88.87, 307.05°)
OKLaboklab(61.04% 0.0859 -0.2026)
OKLCHoklch(61.04% 0.22 293)
XYZxyz(31.8375, 20.2678, 91.0234)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF8 #C8F85D
analogous
#5D7BF8 #8D5DF8 #DB5DF8
triadic
#8D5DF8 #F88D5D #5DF88D
tetradic
#8D5DF8 #F85D7B #C8F85D #5DF8DB
square
#8D5DF8 #F85D7B #C8F85D #5DF8DB
split-complementary
#8D5DF8 #F8DB5D #7BF85D
monochromatic
#4709D2 #6422F5 #8D5DF8 #B698FB #E0D2FD

Accessibility & contrast

On white

4.16
#8D5DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8D5DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF8#FFFFFF#000000##000000
##8D5DF81.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d5df8;
/* rgb */ color: rgb(141, 93, 248);
/* oklch */ color: oklch(61.0% 0.220 293.0);
Tailwind
colors: {
  custom: {
    50: '#b58dfb',
    500: '#8d5df8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df8;
$custom-light: #b58dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df8",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 258.581,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.22006,
    "h": 293
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#8D5DF8
secondary
#E2F1C0
accent
#E6009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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