#8D5CED#8D5CED

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

Color values

HEX#8D5CED
RGBrgb(141, 92, 237)
HSLhsl(260, 80%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.5%, 61.2%, 0%, 7.1%)
CIE-LABlab(51.19, 51.19, -66.32)
CIE-LCHlch(51.19, 83.78, 307.66°)
OKLaboklab(60.11% 0.0878 -0.189)
OKLCHoklch(60.11% 0.208 294.9)
XYZxyz(30.0937, 19.4308, 82.2693)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CED #BCED5C
analogous
#5C74ED #8D5CED #D65CED
triadic
#8D5CED #ED8D5C #5CED8D
tetradic
#8D5CED #ED5C74 #BCED5C #5CEDD6
square
#8D5CED #ED5C74 #BCED5C #5CEDD6
split-complementary
#8D5CED #EDD65C #74ED5C
monochromatic
#4C15BA #6625E7 #8D5CED #B493F3 #DACAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5CED#FFFFFF#000000##000000
##8D5CED1.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)
#007BF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#747D9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5ced;
/* rgb */ color: rgb(141, 92, 237);
/* oklch */ color: oklch(60.1% 0.208 294.9);
Tailwind
colors: {
  custom: {
    50: '#b48cf4',
    500: '#8d5ced',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ced;
$custom-light: #b48cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ced",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 260.276,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6011,
    "c": 0.20844,
    "h": 294.9
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#8D5CED
secondary
#DBEBB9
accent
#DC0995
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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