#8D5FC9#8D5FC9

#8D5FC9 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.161 H 301.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D5FC9
RGBrgb(141, 95, 201)
HSLhsl(266, 50%, 58%)
HSVhsv(266, 53%, 79%)
CMYKcmyk(29.9%, 52.7%, 0%, 21.2%)
CIE-LABlab(49.57, 40.33, -48.49)
CIE-LCHlch(49.57, 63.07, 309.75°)
OKLaboklab(58.21% 0.0843 -0.1367)
OKLCHoklch(58.21% 0.161 301.7)
XYZxyz(25.6169, 18.0641, 57.3842)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FC9 #9BC95F
analogous
#5F66C9 #8D5FC9 #C25FC9
triadic
#8D5FC9 #C98D5F #5FC98D
tetradic
#8D5FC9 #C95F66 #9BC95F #5FC9C2
square
#8D5FC9 #C95F66 #9BC95F #5FC9C2
split-complementary
#8D5FC9 #C9C25F #66C95F
monochromatic
#512C82 #6E3BB0 #8D5FC9 #AE8DD8 #CEBBE8

Accessibility & contrast

On white

4.55
#8D5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8D5FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FC9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FC9#FFFFFF#000000##000000
##8D5FC91.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3975CD
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#81738B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5fc9;
/* rgb */ color: rgb(141, 95, 201);
/* oklch */ color: oklch(58.2% 0.161 301.7);
Tailwind
colors: {
  custom: {
    50: '#b18eda',
    500: '#8d5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fc9;
$custom-light: #b18eda;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fc9",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 266.038,
    "s": 49.533,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5821,
    "c": 0.16057,
    "h": 301.7
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#8D5FC9
secondary
#C5D7AD
accent
#D94F9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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