#8D5CE5#8D5CE5

#8D5CE5 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.199 H 296.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8D5CE5
RGBrgb(141, 92, 229)
HSLhsl(261, 72%, 63%)
HSVhsv(261, 60%, 90%)
CMYKcmyk(38.4%, 59.8%, 0%, 10.2%)
CIE-LABlab(50.66, 49.11, -62.68)
CIE-LCHlch(50.66, 79.63, 308.08°)
OKLaboklab(59.56% 0.0882 -0.1783)
OKLCHoklch(59.56% 0.199 296.3)
XYZxyz(28.9509, 18.9736, 76.2505)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE5 #B4E55C
analogous
#5C6FE5 #8D5CE5 #D25CE5
triadic
#8D5CE5 #E58D5C #5CE58D
tetradic
#8D5CE5 #E55C6F #B4E55C #5CE5D2
square
#8D5CE5 #E55C6F #B4E55C #5CE5D2
split-complementary
#8D5CE5 #E5D25C #6FE55C
monochromatic
#4F1BAB #6827DD #8D5CE5 #B291ED #D7C6F6

Accessibility & contrast

On white

4.38
#8D5CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8D5CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CE5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CE5#FFFFFF#000000##000000
##8D5CE51.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#1C77E2
Tritanopia (blue-blind)
#777A98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5ce5;
/* rgb */ color: rgb(141, 92, 229);
/* oklch */ color: oklch(59.6% 0.199 296.3);
Tailwind
colors: {
  custom: {
    50: '#b48cee',
    500: '#8d5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce5;
$custom-light: #b48cee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce5",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 261.46,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.19896,
    "h": 296.3
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#8D5CE5
secondary
#D5E7B6
accent
#D5118F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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