#8D5FCA#8D5FCA

#8D5FCA is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.162 H 301.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8D5FCA
RGBrgb(141, 95, 202)
HSLhsl(266, 50%, 58%)
HSVhsv(266, 53%, 79%)
CMYKcmyk(30.2%, 53%, 0%, 20.8%)
CIE-LABlab(49.63, 40.58, -48.97)
CIE-LCHlch(49.63, 63.60, 309.64°)
OKLaboklab(58.27% 0.0843 -0.1381)
OKLCHoklch(58.27% 0.162 301.4)
XYZxyz(25.7349, 18.1113, 58.0057)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FCA #9CCA5F
analogous
#5F66CA #8D5FCA #C25FCA
triadic
#8D5FCA #CA8D5F #5FCA8D
tetradic
#8D5FCA #CA5F66 #9CCA5F #5FCAC2
square
#8D5FCA #CA5F66 #9CCA5F #5FCAC2
split-complementary
#8D5FCA #CAC25F #66CA5F
monochromatic
#512B83 #6E3BB1 #8D5FCA #AE8DD9 #CFBBE8

Accessibility & contrast

On white

4.54
#8D5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8D5FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FCA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FCA#FFFFFF#000000##000000
##8D5FCA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#4676C7
Tritanopia (blue-blind)
#81738B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5fca;
/* rgb */ color: rgb(141, 95, 202);
/* oklch */ color: oklch(58.3% 0.162 301.4);
Tailwind
colors: {
  custom: {
    50: '#b18edb',
    500: '#8d5fca',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fca;
$custom-light: #b18edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fca",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 265.794,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5827,
    "c": 0.16181,
    "h": 301.4
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#8D5FCA
secondary
#C5D8AD
accent
#DA4E9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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