#8D5CE3#8D5CE3

#8D5CE3 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.197 H 296.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D5CE3
RGBrgb(141, 92, 227)
HSLhsl(262, 71%, 63%)
HSVhsv(262, 59%, 89%)
CMYKcmyk(37.9%, 59.5%, 0%, 11%)
CIE-LABlab(50.53, 48.59, -61.76)
CIE-LCHlch(50.53, 78.58, 308.19°)
OKLaboklab(59.42% 0.0883 -0.1756)
OKLCHoklch(59.42% 0.197 296.7)
XYZxyz(28.6732, 18.8626, 74.7883)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE3 #B2E35C
analogous
#5C6EE3 #8D5CE3 #D15CE3
triadic
#8D5CE3 #E38D5C #5CE38D
tetradic
#8D5CE3 #E35C6E #B2E35C #5CE3D1
square
#8D5CE3 #E35C6E #B2E35C #5CE3D1
split-complementary
#8D5CE3 #E3D15C #6EE35C
monochromatic
#4F1DA8 #6828DA #8D5CE3 #B290EC #D6C4F5

Accessibility & contrast

On white

4.40
#8D5CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8D5CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CE3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CE3#FFFFFF#000000##000000
##8D5CE31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2177E0
Tritanopia (blue-blind)
#787997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ce3;
/* rgb */ color: rgb(141, 92, 227);
/* oklch */ color: oklch(59.4% 0.197 296.7);
Tailwind
colors: {
  custom: {
    50: '#b38ced',
    500: '#8d5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce3;
$custom-light: #b38ced;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce3",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 261.778,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59418,
    "c": 0.19659,
    "h": 296.7
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#8D5CE3
secondary
#D4E6B5
accent
#D3138D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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