#8D5FDA#8D5FDA

#8D5FDA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.181 H 297.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D5FDA
RGBrgb(141, 95, 218)
HSLhsl(262, 62%, 61%)
HSVhsv(262, 56%, 85%)
CMYKcmyk(35.3%, 56.4%, 0%, 14.5%)
CIE-LABlab(50.58, 44.63, -56.58)
CIE-LCHlch(50.58, 72.07, 308.26°)
OKLaboklab(59.28% 0.0849 -0.1604)
OKLCHoklch(59.28% 0.181 297.9)
XYZxyz(27.7285, 18.9087, 68.5049)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FDA #ACDA5F
analogous
#5F6FDA #8D5FDA #CB5FDA
triadic
#8D5FDA #DA8D5F #5FDA8D
tetradic
#8D5FDA #DA5F6F #ACDA5F #5FDACB
square
#8D5FDA #DA5F6F #ACDA5F #5FDACB
split-complementary
#8D5FDA #DACB5F #6FDA5F
monochromatic
#50249B #6A2FCD #8D5FDA #B091E5 #D4C2F1

Accessibility & contrast

On white

4.39
#8D5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8D5FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FDA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FDA#FFFFFF#000000##000000
##8D5FDA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DE
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#7C7893
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5fda;
/* rgb */ color: rgb(141, 95, 218);
/* oklch */ color: oklch(59.3% 0.181 297.9);
Tailwind
colors: {
  custom: {
    50: '#b38ee6',
    500: '#8d5fda',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fda;
$custom-light: #b38ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fda",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 262.439,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59276,
    "c": 0.18148,
    "h": 297.9
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#8D5FDA
secondary
#D0E1B3
accent
#CA1B89
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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