#8D5FD3#8D5FD3

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

Color values

HEX#8D5FD3
RGBrgb(141, 95, 211)
HSLhsl(264, 57%, 60%)
HSVhsv(264, 55%, 83%)
CMYKcmyk(33.2%, 55%, 0%, 17.3%)
CIE-LABlab(50.16, 42.84, -53.28)
CIE-LCHlch(50.16, 68.37, 308.80°)
OKLaboklab(58.83% 0.0847 -0.1507)
OKLCHoklch(58.83% 0.173 299.3)
XYZxyz(26.8317, 18.5501, 63.7823)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FD3 #A5D35F
analogous
#5F6BD3 #8D5FD3 #C75FD3
triadic
#8D5FD3 #D38D5F #5FD38D
tetradic
#8D5FD3 #D35F6B #A5D35F #5FD3C7
square
#8D5FD3 #D35F6B #A5D35F #5FD3C7
split-complementary
#8D5FD3 #D3C75F #6BD35F
monochromatic
#512890 #6C35C0 #8D5FD3 #AF8FE0 #D1BFED

Accessibility & contrast

On white

4.46
#8D5FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8D5FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FD3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FD3#FFFFFF#000000##000000
##8D5FD31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D7
Deuteranopia (green-blind)
#3E76D0
Tritanopia (blue-blind)
#7E7690
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5fd3;
/* rgb */ color: rgb(141, 95, 211);
/* oklch */ color: oklch(58.8% 0.173 299.3);
Tailwind
colors: {
  custom: {
    50: '#b28ee1',
    500: '#8d5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fd3;
$custom-light: #b28ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fd3",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 263.793,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.1729,
    "h": 299.3
  },
  "luminance": 0.1855
}

Semantic roles & 50–950 ramp

primary
#8D5FD3
secondary
#CCDDB1
accent
#E048A4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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