#8D4CD2#8D4CD2

#8D4CD2 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.199 H 302.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D4CD2
RGBrgb(141, 76, 210)
HSLhsl(269, 60%, 56%)
HSVhsv(269, 64%, 82%)
CMYKcmyk(32.9%, 63.8%, 0%, 17.6%)
CIE-LABlab(46.29, 52.71, -58.92)
CIE-LCHlch(46.29, 79.06, 311.81°)
OKLaboklab(55.99% 0.1076 -0.1673)
OKLCHoklch(55.99% 0.199 302.8)
XYZxyz(25.1991, 15.4847, 62.6216)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CD2 #91D24C
analogous
#4C4ED2 #8D4CD2 #D04CD2
triadic
#8D4CD2 #D28D4C #4CD28D
tetradic
#8D4CD2 #D24C4E #91D24C #4CD2D0
square
#8D4CD2 #D24C4E #91D24C #4CD2D0
split-complementary
#8D4CD2 #D2D04C #4ED24C
monochromatic
#502183 #6E2DB4 #8D4CD2 #AC7DDE #CBAEEB

Accessibility & contrast

On white

5.13
#8D4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8D4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CD2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CD2#FFFFFF#000000##FFFFFF
##8D4CD21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#1E6DCF
Tritanopia (blue-blind)
#7F6988
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4cd2;
/* rgb */ color: rgb(141, 76, 210);
/* oklch */ color: oklch(56.0% 0.199 302.8);
Tailwind
colors: {
  custom: {
    50: '#b382e1',
    500: '#8d4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cd2;
$custom-light: #b382e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cd2",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 269.104,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.19888,
    "h": 302.8
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#8D4CD2
secondary
#BED9A1
accent
#E34596
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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