#8D5DEE#8D5DEE

#8D5DEE is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.208 H 294.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D5DEE
RGBrgb(141, 93, 238)
HSLhsl(260, 81%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.8%, 60.9%, 0%, 6.7%)
CIE-LABlab(51.45, 50.91, -66.45)
CIE-LCHlch(51.45, 83.71, 307.46°)
OKLaboklab(60.33% 0.0867 -0.1894)
OKLCHoklch(60.33% 0.208 294.6)
XYZxyz(30.3274, 19.6637, 83.0700)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DEE #BEEE5D
analogous
#5D76EE #8D5DEE #D65DEE
triadic
#8D5DEE #EE8D5D #5DEE8D
tetradic
#8D5DEE #EE5D76 #BEEE5D #5DEED6
square
#8D5DEE #EE5D76 #BEEE5D #5DEED6
split-complementary
#8D5DEE #EED65D #76EE5D
monochromatic
#4C14BD #6626E8 #8D5DEE #B494F4 #DBCCFA

Accessibility & contrast

On white

4.26
#8D5DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D5DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DEE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DEE#FFFFFF#000000##000000
##8D5DEE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#747E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5dee;
/* rgb */ color: rgb(141, 93, 238);
/* oklch */ color: oklch(60.3% 0.208 294.6);
Tailwind
colors: {
  custom: {
    50: '#b48df4',
    500: '#8d5dee',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dee;
$custom-light: #b48df4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dee",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 259.862,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.20829,
    "h": 294.6
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#8D5DEE
secondary
#DCECBB
accent
#DD0897
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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