#8D5CF4#8D5CF4

#8D5CF4 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.217 H 293.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D5CF4
RGBrgb(141, 92, 244)
HSLhsl(259, 87%, 66%)
HSVhsv(259, 62%, 96%)
CMYKcmyk(42.2%, 62.3%, 0%, 4.3%)
CIE-LABlab(51.66, 53.02, -69.46)
CIE-LCHlch(51.66, 87.39, 307.35°)
OKLaboklab(60.61% 0.0873 -0.1983)
OKLCHoklch(60.61% 0.217 293.8)
XYZxyz(31.1364, 19.8478, 87.7609)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CF4 #C3F45C
analogous
#5C77F4 #8D5CF4 #D95CF4
triadic
#8D5CF4 #F48D5C #5CF48D
tetradic
#8D5CF4 #F45C77 #C3F45C #5CF4D9
square
#8D5CF4 #F45C77 #C3F45C #5CF4D9
split-complementary
#8D5CF4 #F4D95C #77F45C
monochromatic
#4A0EC8 #6523F0 #8D5CF4 #B595F8 #DDCFFC

Accessibility & contrast

On white

4.23
#8D5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8D5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CF4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CF4#FFFFFF#000000##000000
##8D5CF41.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#717FA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5cf4;
/* rgb */ color: rgb(141, 92, 244);
/* oklch */ color: oklch(60.6% 0.217 293.8);
Tailwind
colors: {
  custom: {
    50: '#b58cf9',
    500: '#8d5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cf4;
$custom-light: #b58cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cf4",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 259.342,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60608,
    "c": 0.21666,
    "h": 293.8
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#8D5CF4
secondary
#DFEFBD
accent
#E4029B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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