#8D5CD2#8D5CD2

#8D5CD2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.176 H 300.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8D5CD2
RGBrgb(141, 92, 210)
HSLhsl(265, 57%, 59%)
HSVhsv(265, 56%, 82%)
CMYKcmyk(32.9%, 56.2%, 0%, 17.6%)
CIE-LABlab(49.46, 44.25, -53.83)
CIE-LCHlch(49.46, 69.68, 309.42°)
OKLaboklab(58.3% 0.0885 -0.1523)
OKLCHoklch(58.3% 0.176 300.1)
XYZxyz(26.4417, 17.9700, 63.0358)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CD2 #A1D25C
analogous
#5C66D2 #8D5CD2 #C85CD2
triadic
#8D5CD2 #D28D5C #5CD28D
tetradic
#8D5CD2 #D25C66 #A1D25C #5CD2C8
square
#8D5CD2 #D25C66 #A1D25C #5CD2C8
split-complementary
#8D5CD2 #D2C85C #66D25C
monochromatic
#51278D #6D34BD #8D5CD2 #AF8CDF #D0BCEC

Accessibility & contrast

On white

4.57
#8D5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8D5CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CD2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CD2#FFFFFF#000000##000000
##8D5CD21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#7F748E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5cd2;
/* rgb */ color: rgb(141, 92, 210);
/* oklch */ color: oklch(58.3% 0.176 300.1);
Tailwind
colors: {
  custom: {
    50: '#b28ce0',
    500: '#8d5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cd2;
$custom-light: #b28ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cd2",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 264.915,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.17615,
    "h": 300.1
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#8D5CD2
secondary
#C9DCAE
accent
#E048A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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