#8D4CC2#8D4CC2

#8D4CC2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.181 H 306.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8D4CC2
RGBrgb(141, 76, 194)
HSLhsl(273, 49%, 53%)
HSVhsv(273, 61%, 76%)
CMYKcmyk(27.3%, 60.8%, 0%, 23.9%)
CIE-LABlab(45.26, 48.90, -51.36)
CIE-LCHlch(45.26, 70.92, 313.60°)
OKLaboklab(54.91% 0.1084 -0.145)
OKLCHoklch(54.91% 0.181 306.8)
XYZxyz(23.3045, 14.7269, 52.6433)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CC2 #81C24C
analogous
#524CC2 #8D4CC2 #C24CBC
triadic
#8D4CC2 #C28D4C #4CC28D
tetradic
#8D4CC2 #C2524C #81C24C #4CBCC2
square
#8D4CC2 #C2524C #81C24C #4CBCC2
split-complementary
#8D4CC2 #BCC24C #4CC252
monochromatic
#4D266E #6E359C #8D4CC2 #AA7AD2 #C7A7E1

Accessibility & contrast

On white

5.32
#8D4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8D4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CC2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CC2#FFFFFF#000000##FFFFFF
##8D4CC21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C6
Deuteranopia (green-blind)
#366CBF
Tritanopia (blue-blind)
#846380
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d4cc2;
/* rgb */ color: rgb(141, 76, 194);
/* oklch */ color: oklch(54.9% 0.181 306.8);
Tailwind
colors: {
  custom: {
    50: '#b281d5',
    500: '#8d4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cc2;
$custom-light: #b281d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cc2",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 273.051,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.18106,
    "h": 306.8
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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