#8D4DDB#8D4DDB

#8D4DDB is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.208 H 300.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D4DDB
RGBrgb(141, 77, 219)
HSLhsl(267, 66%, 58%)
HSVhsv(267, 65%, 86%)
CMYKcmyk(35.6%, 64.8%, 0%, 14.1%)
CIE-LABlab(47.09, 54.40, -62.78)
CIE-LCHlch(47.09, 83.07, 310.91°)
OKLaboklab(56.75% 0.1057 -0.1786)
OKLCHoklch(56.75% 0.208 300.6)
XYZxyz(26.4215, 16.0848, 68.7168)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DDB #9BDB4D
analogous
#4D54DB #8D4DDB #D44DDB
triadic
#8D4DDB #DB8D4D #4DDB8D
tetradic
#8D4DDB #DB4D54 #9BDB4D #4DDBD4
square
#8D4DDB #DB4D54 #9BDB4D #4DDBD4
split-complementary
#8D4DDB #DBD44D #54DB4D
monochromatic
#511D90 #6E27C3 #8D4DDB #AE80E5 #CEB3F0

Accessibility & contrast

On white

4.98
#8D4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8D4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DDB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DDB#FFFFFF#000000##FFFFFF
##8D4DDB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#016FD8
Tritanopia (blue-blind)
#7C6D8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4ddb;
/* rgb */ color: rgb(141, 77, 219);
/* oklch */ color: oklch(56.8% 0.208 300.6);
Tailwind
colors: {
  custom: {
    50: '#b483e7',
    500: '#8d4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ddb;
$custom-light: #b483e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ddb",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 267.042,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.20753,
    "h": 300.6
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#8D4DDB
secondary
#C5DEA6
accent
#E93F9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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