#8D4CC1#8D4CC1

#8D4CC1 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.180 H 307.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8D4CC1
RGBrgb(141, 76, 193)
HSLhsl(273, 49%, 53%)
HSVhsv(273, 61%, 76%)
CMYKcmyk(26.9%, 60.6%, 0%, 24.3%)
CIE-LABlab(45.20, 48.67, -50.88)
CIE-LCHlch(45.20, 70.41, 313.73°)
OKLaboklab(54.84% 0.1084 -0.1436)
OKLCHoklch(54.84% 0.18 307)
XYZxyz(23.1926, 14.6821, 52.0539)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CC1 #80C14C
analogous
#524CC1 #8D4CC1 #C14CBB
triadic
#8D4CC1 #C18D4C #4CC18D
tetradic
#8D4CC1 #C1524C #80C14C #4CBBC1
square
#8D4CC1 #C1524C #80C14C #4CBBC1
split-complementary
#8D4CC1 #BBC14C #4CC152
monochromatic
#4D266D #6E359A #8D4CC1 #AA79D1 #C7A7E0

Accessibility & contrast

On white

5.33
#8D4CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8D4CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CC1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CC1#FFFFFF#000000##FFFFFF
##8D4CC11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1569C5
Deuteranopia (green-blind)
#376CBE
Tritanopia (blue-blind)
#85637F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d4cc1;
/* rgb */ color: rgb(141, 76, 193);
/* oklch */ color: oklch(54.8% 0.180 307.0);
Tailwind
colors: {
  custom: {
    50: '#b281d4',
    500: '#8d4cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cc1;
$custom-light: #b281d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cc1",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 273.333,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.17994,
    "h": 307
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#8D4CC1
secondary
#B2CE9B
accent
#D8508C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D4CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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