#8D4CBB#8D4CBB

#8D4CBB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.173 H 308.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D4CBB
RGBrgb(141, 76, 187)
HSLhsl(275, 45%, 52%)
HSVhsv(275, 59%, 73%)
CMYKcmyk(24.6%, 59.4%, 0%, 26.7%)
CIE-LABlab(44.83, 47.28, -47.97)
CIE-LCHlch(44.83, 67.35, 314.58°)
OKLaboklab(54.46% 0.1085 -0.1351)
OKLCHoklch(54.46% 0.173 308.8)
XYZxyz(22.5368, 14.4198, 48.6001)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CBB #7ABB4C
analogous
#564CBB #8D4CBB #BB4CB2
triadic
#8D4CBB #BB8D4C #4CBB8D
tetradic
#8D4CBB #BB564C #7ABB4C #4CB2BB
square
#8D4CBB #BB564C #7ABB4C #4CB2BB
split-complementary
#8D4CBB #B2BB4C #4CBB56
monochromatic
#4C2766 #6D3892 #8D4CBB #A978CC #C5A5DD

Accessibility & contrast

On white

5.41
#8D4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8D4CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CBB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CBB#FFFFFF#000000##FFFFFF
##8D4CBB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#86617C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4cbb;
/* rgb */ color: rgb(141, 76, 187);
/* oklch */ color: oklch(54.5% 0.173 308.8);
Tailwind
colors: {
  custom: {
    50: '#b181d0',
    500: '#8d4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cbb;
$custom-light: #b181d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cbb",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 275.135,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.17325,
    "h": 308.8
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#8D4CBB
secondary
#ADCA99
accent
#D55389
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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