#8D3DD6#8D3DD6

#8D3DD6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.222 H 303.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8D3DD6
RGBrgb(141, 61, 214)
HSLhsl(271, 65%, 54%)
HSVhsv(271, 71%, 84%)
CMYKcmyk(34.1%, 71.5%, 0%, 16.1%)
CIE-LABlab(44.02, 60.72, -64.89)
CIE-LCHlch(44.02, 88.87, 313.10°)
OKLaboklab(54.45% 0.1228 -0.1847)
OKLCHoklch(54.45% 0.222 303.6)
XYZxyz(24.7880, 13.8553, 64.9737)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DD6 #86D63D
analogous
#413DD6 #8D3DD6 #D63DD2
triadic
#8D3DD6 #D68D3D #3DD68D
tetradic
#8D3DD6 #D6413D #86D63D #3DD2D6
square
#8D3DD6 #D6413D #86D63D #3DD2D6
split-complementary
#8D3DD6 #D2D63D #3DD641
monochromatic
#4F1B7E #6E25B1 #8D3DD6 #AB70E1 #C8A2EB

Accessibility & contrast

On white

5.57
#8D3DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8D3DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DD6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DD6#FFFFFF#000000##FFFFFF
##8D3DD61.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#7F6286
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d3dd6;
/* rgb */ color: rgb(141, 61, 214);
/* oklch */ color: oklch(54.5% 0.222 303.6);
Tailwind
colors: {
  custom: {
    50: '#b479e4',
    500: '#8d3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dd6;
$custom-light: #b479e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dd6",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 271.373,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54453,
    "c": 0.22181,
    "h": 303.6
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#8D3DD6
secondary
#B6D897
accent
#E84090
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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