#8D5FC8#8D5FC8

#8D5FC8 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.159 H 301.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D5FC8
RGBrgb(141, 95, 200)
HSLhsl(266, 49%, 58%)
HSVhsv(266, 53%, 78%)
CMYKcmyk(29.5%, 52.5%, 0%, 21.6%)
CIE-LABlab(49.52, 40.08, -48.01)
CIE-LCHlch(49.52, 62.54, 309.86°)
OKLaboklab(58.15% 0.0842 -0.1353)
OKLCHoklch(58.15% 0.159 301.9)
XYZxyz(25.4997, 18.0172, 56.7667)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FC8 #9AC85F
analogous
#5F65C8 #8D5FC8 #C25FC8
triadic
#8D5FC8 #C88D5F #5FC88D
tetradic
#8D5FC8 #C85F65 #9AC85F #5FC8C2
square
#8D5FC8 #C85F65 #9AC85F #5FC8C2
split-complementary
#8D5FC8 #C8C25F #65C85F
monochromatic
#512C80 #6E3CAE #8D5FC8 #AD8DD8 #CEBAE7

Accessibility & contrast

On white

4.56
#8D5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FC8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FC8#FFFFFF#000000##000000
##8D5FC81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#82738A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5fc8;
/* rgb */ color: rgb(141, 95, 200);
/* oklch */ color: oklch(58.1% 0.159 301.9);
Tailwind
colors: {
  custom: {
    50: '#b18ed9',
    500: '#8d5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fc8;
$custom-light: #b18ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fc8",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 266.286,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58149,
    "c": 0.15933,
    "h": 301.9
  },
  "luminance": 0.18017
}

Semantic roles & 50–950 ramp

primary
#8D5FC8
secondary
#C4D6AC
accent
#D84F9C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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