#8D5DEA#8D5DEA

#8D5DEA is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.204 H 295.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D5DEA
RGBrgb(141, 93, 234)
HSLhsl(260, 77%, 64%)
HSVhsv(260, 60%, 92%)
CMYKcmyk(39.7%, 60.3%, 0%, 8.2%)
CIE-LABlab(51.19, 49.87, -64.64)
CIE-LCHlch(51.19, 81.64, 307.65°)
OKLaboklab(60.05% 0.0869 -0.1841)
OKLCHoklch(60.05% 0.204 295.3)
XYZxyz(29.7462, 19.4313, 80.0093)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DEA #BAEA5D
analogous
#5D74EA #8D5DEA #D45DEA
triadic
#8D5DEA #EA8D5D #5DEA8D
tetradic
#8D5DEA #EA5D74 #BAEA5D #5DEAD4
square
#8D5DEA #EA5D74 #BAEA5D #5DEAD4
split-complementary
#8D5DEA #EAD45D #74EA5D
monochromatic
#4D17B5 #6727E3 #8D5DEA #B393F1 #D9C9F8

Accessibility & contrast

On white

4.30
#8D5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8D5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DEA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DEA#FFFFFF#000000##000000
##8D5DEA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0E78E7
Tritanopia (blue-blind)
#757C9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5dea;
/* rgb */ color: rgb(141, 93, 234);
/* oklch */ color: oklch(60.0% 0.204 295.3);
Tailwind
colors: {
  custom: {
    50: '#b48df2',
    500: '#8d5dea',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dea;
$custom-light: #b48df2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dea",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 260.426,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.20355,
    "h": 295.3
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

primary
#8D5DEA
secondary
#D9EAB9
accent
#D90C93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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