#8D5FCC#8D5FCC

#8D5FCC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.164 H 300.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D5FCC
RGBrgb(141, 95, 204)
HSLhsl(265, 52%, 59%)
HSVhsv(265, 53%, 80%)
CMYKcmyk(30.9%, 53.4%, 0%, 20%)
CIE-LABlab(49.75, 41.08, -49.94)
CIE-LCHlch(49.75, 64.66, 309.44°)
OKLaboklab(58.39% 0.0844 -0.1409)
OKLCHoklch(58.39% 0.164 300.9)
XYZxyz(25.9733, 18.2067, 59.2609)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FCC #9ECC5F
analogous
#5F67CC #8D5FCC #C35FCC
triadic
#8D5FCC #CC8D5F #5FCC8D
tetradic
#8D5FCC #CC5F67 #9ECC5F #5FCCC3
square
#8D5FCC #CC5F67 #9ECC5F #5FCCC3
split-complementary
#8D5FCC #CCC35F #67CC5F
monochromatic
#512B86 #6D39B4 #8D5FCC #AE8DDB #CFBCEA

Accessibility & contrast

On white

4.52
#8D5FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8D5FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FCC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FCC#FFFFFF#000000##000000
##8D5FCC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#80748C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5fcc;
/* rgb */ color: rgb(141, 95, 204);
/* oklch */ color: oklch(58.4% 0.164 300.9);
Tailwind
colors: {
  custom: {
    50: '#b18edc',
    500: '#8d5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fcc;
$custom-light: #b18edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fcc",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 265.321,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.16428,
    "h": 300.9
  },
  "luminance": 0.18207
}

Semantic roles & 50–950 ramp

primary
#8D5FCC
secondary
#C7D9AE
accent
#DB4D9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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