#8D5FD7#8D5FD7

#8D5FD7 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.178 H 298.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D5FD7
RGBrgb(141, 95, 215)
HSLhsl(263, 60%, 61%)
HSVhsv(263, 56%, 84%)
CMYKcmyk(34.4%, 55.8%, 0%, 15.7%)
CIE-LABlab(50.40, 43.86, -55.17)
CIE-LCHlch(50.40, 70.48, 308.48°)
OKLaboklab(59.08% 0.0848 -0.1563)
OKLCHoklch(59.08% 0.178 298.5)
XYZxyz(27.3394, 18.7531, 66.4561)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FD7 #A9D75F
analogous
#5F6DD7 #8D5FD7 #C95FD7
triadic
#8D5FD7 #D78D5F #5FD78D
tetradic
#8D5FD7 #D75F6D #A9D75F #5FD7C9
square
#8D5FD7 #D75F6D #A9D75F #5FD7C9
split-complementary
#8D5FD7 #D7C95F #6DD75F
monochromatic
#512696 #6B32C7 #8D5FD7 #B090E3 #D3C1EF

Accessibility & contrast

On white

4.42
#8D5FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8D5FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FD7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FD7#FFFFFF#000000##000000
##8D5FD71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DB
Deuteranopia (green-blind)
#3977D4
Tritanopia (blue-blind)
#7D7792
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5fd7;
/* rgb */ color: rgb(141, 95, 215);
/* oklch */ color: oklch(59.1% 0.178 298.5);
Tailwind
colors: {
  custom: {
    50: '#b28ee4',
    500: '#8d5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fd7;
$custom-light: #b28ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fd7",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 263,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59083,
    "c": 0.17781,
    "h": 298.5
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#8D5FD7
secondary
#CEE0B2
accent
#C81E87
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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