#8D5FD2#8D5FD2

#8D5FD2 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.172 H 299.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D5FD2
RGBrgb(141, 95, 210)
HSLhsl(264, 56%, 60%)
HSVhsv(264, 55%, 82%)
CMYKcmyk(32.9%, 54.8%, 0%, 17.6%)
CIE-LABlab(50.10, 42.59, -52.81)
CIE-LCHlch(50.10, 67.84, 308.89°)
OKLaboklab(58.77% 0.0847 -0.1493)
OKLCHoklch(58.77% 0.172 299.6)
XYZxyz(26.7068, 18.5001, 63.1241)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FD2 #A4D25F
analogous
#5F6AD2 #8D5FD2 #C75FD2
triadic
#8D5FD2 #D28D5F #5FD28D
tetradic
#8D5FD2 #D25F6A #A4D25F #5FD2C7
square
#8D5FD2 #D25F6A #A4D25F #5FD2C7
split-complementary
#8D5FD2 #D2C75F #6AD25F
monochromatic
#51288F #6C36BE #8D5FD2 #AF8FDF #D1BFED

Accessibility & contrast

On white

4.47
#8D5FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8D5FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FD2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FD2#FFFFFF#000000##000000
##8D5FD21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#7E768F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5fd2;
/* rgb */ color: rgb(141, 95, 210);
/* oklch */ color: oklch(58.8% 0.172 299.6);
Tailwind
colors: {
  custom: {
    50: '#b28ee0',
    500: '#8d5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fd2;
$custom-light: #b28ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fd2",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 264,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.17167,
    "h": 299.6
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#8D5FD2
secondary
#CBDDB0
accent
#DF48A3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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