#8D4CBE#8D4CBE

#8D4CBE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.177 H 307.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D4CBE
RGBrgb(141, 76, 190)
HSLhsl(274, 47%, 52%)
HSVhsv(274, 60%, 75%)
CMYKcmyk(25.8%, 60%, 0%, 25.5%)
CIE-LABlab(45.01, 47.97, -49.43)
CIE-LCHlch(45.01, 68.88, 314.14°)
OKLaboklab(54.65% 0.1085 -0.1394)
OKLCHoklch(54.65% 0.177 307.9)
XYZxyz(22.8613, 14.5496, 50.3092)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CBE #7DBE4C
analogous
#544CBE #8D4CBE #BE4CB6
triadic
#8D4CBE #BE8D4C #4CBE8D
tetradic
#8D4CBE #BE544C #7DBE4C #4CB6BE
square
#8D4CBE #BE544C #7DBE4C #4CB6BE
split-complementary
#8D4CBE #B6BE4C #4CBE54
monochromatic
#4D2669 #6D3796 #8D4CBE #AA79CE #C6A6DF

Accessibility & contrast

On white

5.37
#8D4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8D4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CBE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CBE#FFFFFF#000000##FFFFFF
##8D4CBE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#86627E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4cbe;
/* rgb */ color: rgb(141, 76, 190);
/* oklch */ color: oklch(54.6% 0.177 307.9);
Tailwind
colors: {
  custom: {
    50: '#b281d2',
    500: '#8d4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cbe;
$custom-light: #b281d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cbe",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 274.211,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.17659,
    "h": 307.9
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#8D4CBE
secondary
#AFCC9A
accent
#D6518B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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