#8D5FD6#8D5FD6

#8D5FD6 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.177 H 298.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D5FD6
RGBrgb(141, 95, 214)
HSLhsl(263, 59%, 61%)
HSVhsv(263, 56%, 84%)
CMYKcmyk(34.1%, 55.6%, 0%, 16.1%)
CIE-LABlab(50.34, 43.61, -54.70)
CIE-LCHlch(50.34, 69.95, 308.56°)
OKLaboklab(59.02% 0.0848 -0.1549)
OKLCHoklch(59.02% 0.177 298.7)
XYZxyz(27.2113, 18.7019, 65.7815)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FD6 #A8D65F
analogous
#5F6CD6 #8D5FD6 #C85FD6
triadic
#8D5FD6 #D68D5F #5FD68D
tetradic
#8D5FD6 #D65F6C #A8D65F #5FD6C8
square
#8D5FD6 #D65F6C #A8D65F #5FD6C8
split-complementary
#8D5FD6 #D6C85F #6CD65F
monochromatic
#512695 #6B33C5 #8D5FD6 #B090E2 #D2C0EF

Accessibility & contrast

On white

4.43
#8D5FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8D5FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FD6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FD6#FFFFFF#000000##000000
##8D5FD61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A78DA
Deuteranopia (green-blind)
#3B77D3
Tritanopia (blue-blind)
#7D7791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5fd6;
/* rgb */ color: rgb(141, 95, 214);
/* oklch */ color: oklch(59.0% 0.177 298.7);
Tailwind
colors: {
  custom: {
    50: '#b28ee3',
    500: '#8d5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fd6;
$custom-light: #b28ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fd6",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 263.193,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59019,
    "c": 0.17658,
    "h": 298.7
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#8D5FD6
secondary
#CEDFB2
accent
#C71F86
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8D5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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