#8D5FBC#8D5FBC

#8D5FBC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.4% C 0.144 H 305.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D5FBC
RGBrgb(141, 95, 188)
HSLhsl(270, 41%, 55%)
HSVhsv(270, 49%, 74%)
CMYKcmyk(25%, 49.5%, 0%, 26.3%)
CIE-LABlab(48.86, 37.14, -42.14)
CIE-LCHlch(48.86, 56.17, 311.39°)
OKLaboklab(57.45% 0.0831 -0.1181)
OKLCHoklch(57.45% 0.144 305.1)
XYZxyz(24.1519, 17.4781, 49.6685)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FBC #8EBC5F
analogous
#5F60BC #8D5FBC #BB5FBC
triadic
#8D5FBC #BC8D5F #5FBC8D
tetradic
#8D5FBC #BC5F60 #8EBC5F #5FBCBB
square
#8D5FBC #BC5F60 #8EBC5F #5FBCBB
split-complementary
#8D5FBC #BCBB5F #60BC5F
monochromatic
#502F71 #6E419C #8D5FBC #AC8ACE #CAB5E0

Accessibility & contrast

On white

4.67
#8D5FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8D5FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5FBC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FBC#FFFFFF#000000##FFFFFF
##8D5FBC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#856F85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d5fbc;
/* rgb */ color: rgb(141, 95, 188);
/* oklch */ color: oklch(57.4% 0.144 305.1);
Tailwind
colors: {
  custom: {
    50: '#b08dd0',
    500: '#8d5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fbc;
$custom-light: #b08dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fbc",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 269.677,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.14444,
    "h": 305.1
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#8D5FBC
secondary
#BCCFA8
accent
#D15795
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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