#8D4DCB#8D4DCB

#8D4DCB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.190 H 304.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D4DCB
RGBrgb(141, 77, 203)
HSLhsl(270, 55%, 55%)
HSVhsv(270, 62%, 80%)
CMYKcmyk(30.5%, 62.1%, 0%, 20.4%)
CIE-LABlab(46.02, 50.52, -55.34)
CIE-LCHlch(46.02, 74.93, 312.39°)
OKLaboklab(55.64% 0.1069 -0.1567)
OKLCHoklch(55.64% 0.19 304.3)
XYZxyz(24.4155, 15.2824, 58.1519)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DCB #8BCB4D
analogous
#4E4DCB #8D4DCB #CB4DCA
triadic
#8D4DCB #CB8D4D #4DCB8D
tetradic
#8D4DCB #CB4E4D #8BCB4D #4DCACB
square
#8D4DCB #CB4E4D #8BCB4D #4DCACB
split-complementary
#8D4DCB #CACB4D #4DCB4E
monochromatic
#4F247A #6E31A9 #8D4DCB #AB7CD9 #CAACE7

Accessibility & contrast

On white

5.18
#8D4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8D4DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DCB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DCB#FFFFFF#000000##FFFFFF
##8D4DCB1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#826785
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4dcb;
/* rgb */ color: rgb(141, 77, 203);
/* oklch */ color: oklch(55.6% 0.190 304.3);
Tailwind
colors: {
  custom: {
    50: '#b282db',
    500: '#8d4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dcb;
$custom-light: #b282db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dcb",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 270.476,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.1897,
    "h": 304.3
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#8D4DCB
secondary
#B9D49F
accent
#DE4A93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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