#8D4FCA#8D4FCA

#8D4FCA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.186 H 304.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8D4FCA
RGBrgb(141, 79, 202)
HSLhsl(270, 54%, 55%)
HSVhsv(270, 61%, 79%)
CMYKcmyk(30.2%, 60.9%, 0%, 20.8%)
CIE-LABlab(46.34, 49.25, -54.25)
CIE-LCHlch(46.34, 73.27, 312.23°)
OKLaboklab(55.85% 0.1045 -0.1535)
OKLCHoklch(55.85% 0.186 304.2)
XYZxyz(24.4388, 15.5190, 57.5737)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FCA #8CCA4F
analogous
#4F4FCA #8D4FCA #CA4FC9
triadic
#8D4FCA #CA8D4F #4FCA8D
tetradic
#8D4FCA #CA4F4F #8CCA4F #4FC9CA
square
#8D4FCA #CA4F4F #8CCA4F #4FC9CA
split-complementary
#8D4FCA #C9CA4F #4FCA4F
monochromatic
#50257A #6E33A9 #8D4FCA #AB7ED8 #CAADE6

Accessibility & contrast

On white

5.12
#8D4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D4FCA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FCA#FFFFFF#000000##FFFFFF
##8D4FCA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066CCE
Deuteranopia (green-blind)
#316EC7
Tritanopia (blue-blind)
#826885
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4fca;
/* rgb */ color: rgb(141, 79, 202);
/* oklch */ color: oklch(55.9% 0.186 304.2);
Tailwind
colors: {
  custom: {
    50: '#b283db',
    500: '#8d4fca',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fca;
$custom-light: #b283db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fca",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 270.244,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.18574,
    "h": 304.2
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#8D4FCA
secondary
#BAD4A1
accent
#DD4B93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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