#8D5FCD#8D5FCD

#8D5FCD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.166 H 300.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8D5FCD
RGBrgb(141, 95, 205)
HSLhsl(265, 52%, 59%)
HSVhsv(265, 54%, 80%)
CMYKcmyk(31.2%, 53.7%, 0%, 19.6%)
CIE-LABlab(49.80, 41.33, -50.42)
CIE-LCHlch(49.80, 65.19, 309.34°)
OKLaboklab(58.45% 0.0845 -0.1423)
OKLCHoklch(58.45% 0.166 300.7)
XYZxyz(26.0936, 18.2548, 59.8946)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FCD #9FCD5F
analogous
#5F68CD #8D5FCD #C45FCD
triadic
#8D5FCD #CD8D5F #5FCD8D
tetradic
#8D5FCD #CD5F68 #9FCD5F #5FCDC4
square
#8D5FCD #CD5F68 #9FCD5F #5FCDC4
split-complementary
#8D5FCD #CDC45F #68CD5F
monochromatic
#512A87 #6D39B6 #8D5FCD #AE8EDC #CFBCEA

Accessibility & contrast

On white

4.52
#8D5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8D5FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FCD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FCD#FFFFFF#000000##000000
##8D5FCD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#80748D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5fcd;
/* rgb */ color: rgb(141, 95, 205);
/* oklch */ color: oklch(58.5% 0.166 300.7);
Tailwind
colors: {
  custom: {
    50: '#b28edd',
    500: '#8d5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fcd;
$custom-light: #b28edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fcd",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 265.091,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.16551,
    "h": 300.7
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#8D5FCD
secondary
#C7DAAE
accent
#DC4CA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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