#8D5CF5#8D5CF5

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

Color values

HEX#8D5CF5
RGBrgb(141, 92, 245)
HSLhsl(259, 88%, 66%)
HSVhsv(259, 62%, 96%)
CMYKcmyk(42.4%, 62.4%, 0%, 3.9%)
CIE-LABlab(51.73, 53.28, -69.91)
CIE-LCHlch(51.73, 87.90, 307.31°)
OKLaboklab(60.68% 0.0872 -0.1996)
OKLCHoklch(60.68% 0.218 293.6)
XYZxyz(31.2886, 19.9087, 88.5627)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CF5 #C4F55C
analogous
#5C77F5 #8D5CF5 #DA5CF5
triadic
#8D5CF5 #F58D5C #5CF58D
tetradic
#8D5CF5 #F55C77 #C4F55C #5CF5DA
square
#8D5CF5 #F55C77 #C4F55C #5CF5DA
split-complementary
#8D5CF5 #F5DA5C #77F55C
monochromatic
#490CCA #6522F1 #8D5CF5 #B596F9 #DECFFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5CF5#FFFFFF#000000##000000
##8D5CF51.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)
#007DFA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#707FA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5cf5;
/* rgb */ color: rgb(141, 92, 245);
/* oklch */ color: oklch(60.7% 0.218 293.6);
Tailwind
colors: {
  custom: {
    50: '#b58cf9',
    500: '#8d5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cf5;
$custom-light: #b58cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cf5",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 259.216,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.21782,
    "h": 293.6
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#8D5CF5
secondary
#DFF0BD
accent
#E5009C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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