#8D5FDC#8D5FDC

#8D5FDC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.184 H 297.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D5FDC
RGBrgb(141, 95, 220)
HSLhsl(262, 64%, 62%)
HSVhsv(262, 57%, 86%)
CMYKcmyk(35.9%, 56.8%, 0%, 13.7%)
CIE-LABlab(50.70, 45.14, -57.52)
CIE-LCHlch(50.70, 73.12, 308.13°)
OKLaboklab(59.41% 0.0849 -0.1632)
OKLCHoklch(59.41% 0.184 297.5)
XYZxyz(27.9917, 19.0141, 69.8916)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FDC #AEDC5F
analogous
#5F70DC #8D5FDC #CC5FDC
triadic
#8D5FDC #DC8D5F #5FDC8D
tetradic
#8D5FDC #DC5F70 #AEDC5F #5FDCCC
square
#8D5FDC #DC5F70 #AEDC5F #5FDCCC
split-complementary
#8D5FDC #DCCC5F #70DC5F
monochromatic
#50239E #692ED0 #8D5FDC #B191E7 #D5C3F2

Accessibility & contrast

On white

4.37
#8D5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8D5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FDC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FDC#FFFFFF#000000##000000
##8D5FDC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#7B7994
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5fdc;
/* rgb */ color: rgb(141, 95, 220);
/* oklch */ color: oklch(59.4% 0.184 297.5);
Tailwind
colors: {
  custom: {
    50: '#b38ee7',
    500: '#8d5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fdc;
$custom-light: #b38ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fdc",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 262.08,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.18392,
    "h": 297.5
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#8D5FDC
secondary
#D2E3B4
accent
#CC1A8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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