#8D5FCE#8D5FCE

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

Color values

HEX#8D5FCE
RGBrgb(141, 95, 206)
HSLhsl(265, 53%, 59%)
HSVhsv(265, 54%, 81%)
CMYKcmyk(31.6%, 53.9%, 0%, 19.2%)
CIE-LABlab(49.86, 41.58, -50.90)
CIE-LCHlch(49.86, 65.72, 309.25°)
OKLaboklab(58.52% 0.0845 -0.1437)
OKLCHoklch(58.52% 0.167 300.5)
XYZxyz(26.2147, 18.3032, 60.5323)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FCE #A0CE5F
analogous
#5F69CE #8D5FCE #C55FCE
triadic
#8D5FCE #CE8D5F #5FCE8D
tetradic
#8D5FCE #CE5F69 #A0CE5F #5FCEC5
square
#8D5FCE #CE5F69 #A0CE5F #5FCEC5
split-complementary
#8D5FCE #CEC55F #69CE5F
monochromatic
#512A89 #6D38B8 #8D5FCE #AE8EDC #D0BDEB

Accessibility & contrast

On white

4.51
#8D5FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8D5FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FCE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FCE#FFFFFF#000000##000000
##8D5FCE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#80758D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5fce;
/* rgb */ color: rgb(141, 95, 206);
/* oklch */ color: oklch(58.5% 0.167 300.5);
Tailwind
colors: {
  custom: {
    50: '#b28edd',
    500: '#8d5fce',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fce;
$custom-light: #b28edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fce",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 264.865,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.16674,
    "h": 300.5
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#8D5FCE
secondary
#C8DAAF
accent
#DD4BA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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