#8D4DC9#8D4DC9

#8D4DC9 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.5% C 0.187 H 304.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D4DC9
RGBrgb(141, 77, 201)
HSLhsl(271, 53%, 55%)
HSVhsv(271, 62%, 79%)
CMYKcmyk(29.9%, 61.7%, 0%, 21.2%)
CIE-LABlab(45.89, 50.04, -54.39)
CIE-LCHlch(45.89, 73.91, 312.62°)
OKLaboklab(55.51% 0.107 -0.1539)
OKLCHoklch(55.51% 0.187 304.8)
XYZxyz(24.1787, 15.1876, 56.9047)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DC9 #89C94D
analogous
#4F4DC9 #8D4DC9 #C94DC7
triadic
#8D4DC9 #C98D4D #4DC98D
tetradic
#8D4DC9 #C94F4D #89C94D #4DC7C9
square
#8D4DC9 #C94F4D #89C94D #4DC7C9
split-complementary
#8D4DC9 #C7C94D #4DC94F
monochromatic
#4F2477 #6E32A6 #8D4DC9 #AB7CD7 #C9ABE5

Accessibility & contrast

On white

5.20
#8D4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8D4DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DC9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DC9#FFFFFF#000000##FFFFFF
##8D4DC91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#2F6DC6
Tritanopia (blue-blind)
#826784
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4dc9;
/* rgb */ color: rgb(141, 77, 201);
/* oklch */ color: oklch(55.5% 0.187 304.8);
Tailwind
colors: {
  custom: {
    50: '#b282da',
    500: '#8d4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dc9;
$custom-light: #b282da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dc9",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 270.968,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55509,
    "c": 0.18746,
    "h": 304.8
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#8D4DC9
secondary
#B8D39F
accent
#DD4B92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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