#8D5DDD#8D5DDD

#8D5DDD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.188 H 297.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D5DDD
RGBrgb(141, 93, 221)
HSLhsl(263, 65%, 62%)
HSVhsv(263, 58%, 87%)
CMYKcmyk(36.2%, 57.9%, 0%, 13.3%)
CIE-LABlab(50.35, 46.50, -58.66)
CIE-LCHlch(50.35, 74.85, 308.40°)
OKLaboklab(59.17% 0.0873 -0.1665)
OKLCHoklch(59.17% 0.188 297.7)
XYZxyz(27.9467, 18.7115, 70.5319)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DDD #ADDD5D
analogous
#5D6DDD #8D5DDD #CD5DDD
triadic
#8D5DDD #DD8D5D #5DDD8D
tetradic
#8D5DDD #DD5D6D #ADDD5D #5DDDCD
square
#8D5DDD #DD5D6D #ADDD5D #5DDDCD
split-complementary
#8D5DDD #DDCD5D #6DDD5D
monochromatic
#50219E #6A2CD1 #8D5DDD #B190E8 #D4C2F2

Accessibility & contrast

On white

4.43
#8D5DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8D5DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DDD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DDD#FFFFFF#000000##000000
##8D5DDD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1578E1
Deuteranopia (green-blind)
#2E76DA
Tritanopia (blue-blind)
#7B7894
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ddd;
/* rgb */ color: rgb(141, 93, 221);
/* oklch */ color: oklch(59.2% 0.188 297.7);
Tailwind
colors: {
  custom: {
    50: '#b38de8',
    500: '#8d5ddd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ddd;
$custom-light: #b38de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ddd",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 262.5,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59165,
    "c": 0.18799,
    "h": 297.7
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#8D5DDD
secondary
#D1E3B3
accent
#CD1889
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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