#8D3CDA#8D3CDA

#8D3CDA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.227 H 302.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8D3CDA
RGBrgb(141, 60, 218)
HSLhsl(271, 68%, 55%)
HSVhsv(271, 72%, 85%)
CMYKcmyk(35.3%, 72.5%, 0%, 14.5%)
CIE-LABlab(44.17, 62.08, -66.94)
CIE-LCHlch(44.17, 91.30, 312.84°)
OKLaboklab(54.65% 0.123 -0.1907)
OKLCHoklch(54.65% 0.227 302.8)
XYZxyz(25.2523, 13.9564, 67.6796)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CDA #89DA3C
analogous
#3E3CDA #8D3CDA #DA3CD8
triadic
#8D3CDA #DA8D3C #3CDA8D
tetradic
#8D3CDA #DA3E3C #89DA3C #3CD8DA
square
#8D3CDA #DA3E3C #89DA3C #3CD8DA
split-complementary
#8D3CDA #D8DA3C #3CDA3E
monochromatic
#4F1983 #6E23B6 #8D3CDA #AB6FE4 #C9A3EE

Accessibility & contrast

On white

5.54
#8D3CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8D3CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CDA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CDA#FFFFFF#000000##FFFFFF
##8D3CDA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#7D6388
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d3cda;
/* rgb */ color: rgb(141, 60, 218);
/* oklch */ color: oklch(54.6% 0.227 302.8);
Tailwind
colors: {
  custom: {
    50: '#b479e6',
    500: '#8d3cda',
    950: '#000000',
  },
}
SCSS
$custom: #8d3cda;
$custom-light: #b479e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3cda",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 218
  },
  "hsl": {
    "h": 270.759,
    "s": 68.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.22696,
    "h": 302.8
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#8D3CDA
secondary
#B8DA97
accent
#EB3D92
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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