#8D5CDE#8D5CDE

#8D5CDE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.191 H 297.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8D5CDE
RGBrgb(141, 92, 222)
HSLhsl(263, 66%, 62%)
HSVhsv(263, 59%, 87%)
CMYKcmyk(36.5%, 58.6%, 0%, 12.9%)
CIE-LABlab(50.20, 47.30, -59.45)
CIE-LCHlch(50.20, 75.97, 308.50°)
OKLaboklab(59.08% 0.0884 -0.1688)
OKLCHoklch(59.08% 0.191 297.6)
XYZxyz(27.9931, 18.5905, 71.2066)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CDE #ADDE5C
analogous
#5C6CDE #8D5CDE #CE5CDE
triadic
#8D5CDE #DE8D5C #5CDE8D
tetradic
#8D5CDE #DE5C6C #ADDE5C #5CDECE
square
#8D5CDE #DE5C6C #ADDE5C #5CDECE
split-complementary
#8D5CDE #DECE5C #6CDE5C
monochromatic
#50209F #6A2BD2 #8D5CDE #B18FE8 #D4C2F3

Accessibility & contrast

On white

4.45
#8D5CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8D5CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CDE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CDE#FFFFFF#000000##000000
##8D5CDE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C78E2
Deuteranopia (green-blind)
#2A76DB
Tritanopia (blue-blind)
#7A7894
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5cde;
/* rgb */ color: rgb(141, 92, 222);
/* oklch */ color: oklch(59.1% 0.191 297.6);
Tailwind
colors: {
  custom: {
    50: '#b38ce9',
    500: '#8d5cde',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cde;
$custom-light: #b38ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cde",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 262.615,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.19061,
    "h": 297.6
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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