#8D5FD8#8D5FD8

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

Color values

HEX#8D5FD8
RGBrgb(141, 95, 216)
HSLhsl(263, 61%, 61%)
HSVhsv(263, 56%, 85%)
CMYKcmyk(34.7%, 56%, 0%, 15.3%)
CIE-LABlab(50.46, 44.12, -55.64)
CIE-LCHlch(50.46, 71.01, 308.41°)
OKLaboklab(59.15% 0.0848 -0.1577)
OKLCHoklch(59.15% 0.179 298.3)
XYZxyz(27.4683, 18.8047, 67.1349)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FD8 #AAD85F
analogous
#5F6DD8 #8D5FD8 #C95FD8
triadic
#8D5FD8 #D88D5F #5FD88D
tetradic
#8D5FD8 #D85F6D #AAD85F #5FD8C9
square
#8D5FD8 #D85F6D #AAD85F #5FD8C9
split-complementary
#8D5FD8 #D8C95F #6DD85F
monochromatic
#512598 #6B31C9 #8D5FD8 #B090E4 #D3C1F0

Accessibility & contrast

On white

4.41
#8D5FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8D5FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FD8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FD8#FFFFFF#000000##000000
##8D5FD81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2778DC
Deuteranopia (green-blind)
#3877D5
Tritanopia (blue-blind)
#7C7892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5fd8;
/* rgb */ color: rgb(141, 95, 216);
/* oklch */ color: oklch(59.1% 0.179 298.3);
Tailwind
colors: {
  custom: {
    50: '#b28ee5',
    500: '#8d5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fd8;
$custom-light: #b28ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fd8",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 262.81,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59147,
    "c": 0.17904,
    "h": 298.3
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#8D5FD8
secondary
#CFE0B3
accent
#C81D87
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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