#8D5BB3#8D5BB3

#8D5BB3 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.140 H 308.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D5BB3
RGBrgb(141, 91, 179)
HSLhsl(274, 37%, 53%)
HSVhsv(274, 49%, 70%)
CMYKcmyk(21.2%, 49.2%, 0%, 29.8%)
CIE-LABlab(47.49, 37.26, -39.06)
CIE-LCHlch(47.49, 53.98, 313.65°)
OKLaboklab(56.28% 0.0877 -0.1091)
OKLCHoklch(56.28% 0.14 308.8)
XYZxyz(22.8607, 16.3999, 44.6003)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BB3 #81B35B
analogous
#615BB3 #8D5BB3 #B35BAD
triadic
#8D5BB3 #B38D5B #5BB38D
tetradic
#8D5BB3 #B3615B #81B35B #5BADB3
square
#8D5BB3 #B3615B #81B35B #5BADB3
split-complementary
#8D5BB3 #ADB35B #5BB361
monochromatic
#4D2F65 #6E428F #8D5BB3 #AA85C6 #C7AFDA

Accessibility & contrast

On white

4.91
#8D5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8D5BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BB3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BB3#FFFFFF#000000##FFFFFF
##8D5BB31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446FB6
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#886A7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5bb3;
/* rgb */ color: rgb(141, 91, 179);
/* oklch */ color: oklch(56.3% 0.140 308.8);
Tailwind
colors: {
  custom: {
    50: '#b08bca',
    500: '#8d5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bb3;
$custom-light: #b08bca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bb3",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 274.091,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.14002,
    "h": 308.8
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#8D5BB3
secondary
#B2C8A2
accent
#CD5B8C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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