#8D4DBD#8D4DBD

#8D4DBD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.174 H 308.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8D4DBD
RGBrgb(141, 77, 189)
HSLhsl(274, 46%, 52%)
HSVhsv(274, 59%, 74%)
CMYKcmyk(25.4%, 59.3%, 0%, 25.9%)
CIE-LABlab(45.14, 47.22, -48.63)
CIE-LCHlch(45.14, 67.78, 314.16°)
OKLaboklab(54.73% 0.1072 -0.137)
OKLCHoklch(54.73% 0.174 308)
XYZxyz(22.8218, 14.6449, 49.7587)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DBD #7DBD4D
analogous
#554DBD #8D4DBD #BD4DB5
triadic
#8D4DBD #BD8D4D #4DBD8D
tetradic
#8D4DBD #BD554D #7DBD4D #4DB5BD
square
#8D4DBD #BD554D #7DBD4D #4DB5BD
split-complementary
#8D4DBD #B5BD4D #4DBD55
monochromatic
#4D2769 #6D3795 #8D4DBD #AA7ACE #C6A6DE

Accessibility & contrast

On white

5.34
#8D4DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8D4DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DBD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DBD#FFFFFF#000000##FFFFFF
##8D4DBD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C1
Deuteranopia (green-blind)
#3C6CBA
Tritanopia (blue-blind)
#86627E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d4dbd;
/* rgb */ color: rgb(141, 77, 189);
/* oklch */ color: oklch(54.7% 0.174 308.0);
Tailwind
colors: {
  custom: {
    50: '#b182d1',
    500: '#8d4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dbd;
$custom-light: #b182d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dbd",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 274.286,
    "s": 45.902,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.174,
    "h": 308
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#8D4DBD
secondary
#AFCB9A
accent
#D6528B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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