#8D5FC0#8D5FC0

#8D5FC0 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.7% C 0.149 H 304.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D5FC0
RGBrgb(141, 95, 192)
HSLhsl(268, 43%, 56%)
HSVhsv(268, 51%, 75%)
CMYKcmyk(26.6%, 50.5%, 0%, 24.7%)
CIE-LABlab(49.07, 38.11, -44.11)
CIE-LCHlch(49.07, 58.29, 310.83°)
OKLaboklab(57.68% 0.0835 -0.1239)
OKLCHoklch(57.68% 0.149 304)
XYZxyz(24.5891, 17.6530, 51.9709)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FC0 #92C05F
analogous
#5F62C0 #8D5FC0 #BE5FC0
triadic
#8D5FC0 #C08D5F #5FC08D
tetradic
#8D5FC0 #C05F62 #92C05F #5FC0BE
square
#8D5FC0 #C05F62 #92C05F #5FC0BE
split-complementary
#8D5FC0 #C0BE5F #62C05F
monochromatic
#502F76 #6E40A2 #8D5FC0 #AC8BD1 #CCB7E3

Accessibility & contrast

On white

4.64
#8D5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8D5FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5FC0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FC0#FFFFFF#000000##FFFFFF
##8D5FC01.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C3
Deuteranopia (green-blind)
#4E75BE
Tritanopia (blue-blind)
#847087
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5fc0;
/* rgb */ color: rgb(141, 95, 192);
/* oklch */ color: oklch(57.7% 0.149 304.0);
Tailwind
colors: {
  custom: {
    50: '#b18ed3',
    500: '#8d5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fc0;
$custom-light: #b18ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fc0",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 268.454,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.14941,
    "h": 304
  },
  "luminance": 0.17653
}

Semantic roles & 50–950 ramp

primary
#8D5FC0
secondary
#BED1A9
accent
#D35597
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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