#8D5FC7#8D5FC7

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

Color values

HEX#8D5FC7
RGBrgb(141, 95, 199)
HSLhsl(267, 48%, 58%)
HSVhsv(267, 52%, 78%)
CMYKcmyk(29.1%, 52.3%, 0%, 22%)
CIE-LABlab(49.46, 39.83, -47.52)
CIE-LCHlch(49.46, 62.01, 309.97°)
OKLaboklab(58.09% 0.0841 -0.1339)
OKLCHoklch(58.09% 0.158 302.1)
XYZxyz(25.3832, 17.9706, 56.1532)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FC7 #99C75F
analogous
#5F65C7 #8D5FC7 #C15FC7
triadic
#8D5FC7 #C78D5F #5FC78D
tetradic
#8D5FC7 #C75F65 #99C75F #5FC7C1
square
#8D5FC7 #C75F65 #99C75F #5FC7C1
split-complementary
#8D5FC7 #C7C15F #65C75F
monochromatic
#512C7F #6E3CAC #8D5FC7 #AD8CD7 #CEBAE7

Accessibility & contrast

On white

4.57
#8D5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8D5FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FC7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FC7#FFFFFF#000000##000000
##8D5FC71.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#82738A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5fc7;
/* rgb */ color: rgb(141, 95, 199);
/* oklch */ color: oklch(58.1% 0.158 302.1);
Tailwind
colors: {
  custom: {
    50: '#b18ed8',
    500: '#8d5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fc7;
$custom-light: #b18ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fc7",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 266.538,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.1581,
    "h": 302.1
  },
  "luminance": 0.17971
}

Semantic roles & 50–950 ramp

primary
#8D5FC7
secondary
#C3D6AC
accent
#D8509C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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