#8D5FCF#8D5FCF

#8D5FCF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.168 H 300.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D5FCF
RGBrgb(141, 95, 207)
HSLhsl(265, 54%, 59%)
HSVhsv(265, 54%, 81%)
CMYKcmyk(31.9%, 54.1%, 0%, 18.8%)
CIE-LABlab(49.92, 41.83, -51.38)
CIE-LCHlch(49.92, 66.25, 309.15°)
OKLaboklab(58.58% 0.0846 -0.1451)
OKLCHoklch(58.58% 0.168 300.2)
XYZxyz(26.3365, 18.3520, 61.1742)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FCF #A1CF5F
analogous
#5F69CF #8D5FCF #C55FCF
triadic
#8D5FCF #CF8D5F #5FCF8D
tetradic
#8D5FCF #CF5F69 #A1CF5F #5FCFC5
square
#8D5FCF #CF5F69 #A1CF5F #5FCFC5
split-complementary
#8D5FCF #CFC55F #69CF5F
monochromatic
#51298A #6D38B9 #8D5FCF #AF8EDD #D0BDEB

Accessibility & contrast

On white

4.50
#8D5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8D5FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FCF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FCF#FFFFFF#000000##000000
##8D5FCF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#80758E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5fcf;
/* rgb */ color: rgb(141, 95, 207);
/* oklch */ color: oklch(58.6% 0.168 300.2);
Tailwind
colors: {
  custom: {
    50: '#b28ede',
    500: '#8d5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fcf;
$custom-light: #b28ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fcf",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 264.643,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58578,
    "c": 0.16799,
    "h": 300.2
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#8D5FCF
secondary
#C9DBAF
accent
#DD4BA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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