#8D3DC7#8D3DC7

#8D3DC7 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.207 H 307.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8D3DC7
RGBrgb(141, 61, 199)
HSLhsl(275, 55%, 51%)
HSVhsv(275, 69%, 78%)
CMYKcmyk(29.1%, 69.3%, 0%, 22%)
CIE-LABlab(42.95, 57.30, -57.98)
CIE-LCHlch(42.95, 81.52, 314.67°)
OKLaboklab(53.35% 0.1251 -0.1644)
OKLCHoklch(53.35% 0.207 307.3)
XYZxyz(22.9599, 13.1240, 55.3454)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DC7 #77C73D
analogous
#483DC7 #8D3DC7 #C73DBC
triadic
#8D3DC7 #C78D3D #3DC78D
tetradic
#8D3DC7 #C7483D #77C73D #3DBCC7
square
#8D3DC7 #C7483D #77C73D #3DBCC7
split-complementary
#8D3DC7 #BCC73D #3DC748
monochromatic
#4B1F6B #6C2D9A #8D3DC7 #A96CD5 #C59CE2

Accessibility & contrast

On white

5.79
#8D3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8D3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DC7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DC7#FFFFFF#000000##FFFFFF
##8D3DC71.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#1666C4
Tritanopia (blue-blind)
#835C7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d3dc7;
/* rgb */ color: rgb(141, 61, 199);
/* oklch */ color: oklch(53.3% 0.207 307.3);
Tailwind
colors: {
  custom: {
    50: '#b379d9',
    500: '#8d3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dc7;
$custom-light: #b379d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dc7",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 274.783,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.20659,
    "h": 307.3
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#8D3DC7
secondary
#ABCE91
accent
#DF4988
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8D3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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