#8D5BDA#8D5BDA

#8D5BDA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.187 H 298.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D5BDA
RGBrgb(141, 91, 218)
HSLhsl(264, 63%, 61%)
HSVhsv(264, 58%, 85%)
CMYKcmyk(35.3%, 58.3%, 0%, 14.5%)
CIE-LABlab(49.75, 46.82, -57.92)
CIE-LCHlch(49.75, 74.48, 308.95°)
OKLaboklab(58.66% 0.0897 -0.1643)
OKLCHoklch(58.66% 0.187 298.6)
XYZxyz(27.3774, 18.2065, 68.3879)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BDA #A8DA5B
analogous
#5B68DA #8D5BDA #CC5BDA
triadic
#8D5BDA #DA8D5B #5BDA8D
tetradic
#8D5BDA #DA5B68 #A8DA5B #5BDACC
square
#8D5BDA #DA5B68 #A8DA5B #5BDACC
split-complementary
#8D5BDA #DACC5B #68DA5B
monochromatic
#512298 #6B2ECA #8D5BDA #B08DE5 #D2BFF1

Accessibility & contrast

On white

4.52
#8D5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8D5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BDA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BDA#FFFFFF#000000##000000
##8D5BDA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1476DE
Deuteranopia (green-blind)
#2F75D7
Tritanopia (blue-blind)
#7C7692
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5bda;
/* rgb */ color: rgb(141, 91, 218);
/* oklch */ color: oklch(58.7% 0.187 298.6);
Tailwind
colors: {
  custom: {
    50: '#b38be6',
    500: '#8d5bda',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bda;
$custom-light: #b38be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bda",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 263.622,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.18724,
    "h": 298.6
  },
  "luminance": 0.18207
}

Semantic roles & 50–950 ramp

primary
#8D5BDA
secondary
#CEE1B0
accent
#CB1B86
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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