#8D5CE0#8D5CE0

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

Color values

HEX#8D5CE0
RGBrgb(141, 92, 224)
HSLhsl(262, 68%, 62%)
HSVhsv(262, 59%, 88%)
CMYKcmyk(37.1%, 58.9%, 0%, 12.2%)
CIE-LABlab(50.33, 47.81, -60.38)
CIE-LCHlch(50.33, 77.02, 308.38°)
OKLaboklab(59.22% 0.0884 -0.1716)
OKLCHoklch(59.22% 0.193 297.3)
XYZxyz(28.2628, 18.6984, 72.6267)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE0 #AFE05C
analogous
#5C6DE0 #8D5CE0 #CF5CE0
triadic
#8D5CE0 #E08D5C #5CE08D
tetradic
#8D5CE0 #E05C6D #AFE05C #5CE0CF
square
#8D5CE0 #E05C6D #AFE05C #5CE0CF
split-complementary
#8D5CE0 #E0CF5C #6DE05C
monochromatic
#501FA3 #6929D6 #8D5CE0 #B18FEA #D5C3F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5CE0#FFFFFF#000000##000000
##8D5CE01.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)
#0278E4
Deuteranopia (green-blind)
#2776DD
Tritanopia (blue-blind)
#7A7895
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ce0;
/* rgb */ color: rgb(141, 92, 224);
/* oklch */ color: oklch(59.2% 0.193 297.3);
Tailwind
colors: {
  custom: {
    50: '#b38cea',
    500: '#8d5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce0;
$custom-light: #b38cea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce0",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 262.273,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59215,
    "c": 0.193,
    "h": 297.3
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#8D5CE0
secondary
#D2E4B4
accent
#D0168B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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