#8D3EB8#8D3EB8

#8D3EB8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.190 H 311.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8D3EB8
RGBrgb(141, 62, 184)
HSLhsl(279, 50%, 48%)
HSVhsv(279, 66%, 72%)
CMYKcmyk(23.4%, 66.3%, 0%, 27.8%)
CIE-LABlab(42.11, 53.52, -50.58)
CIE-LCHlch(42.11, 73.63, 316.62°)
OKLaboklab(52.43% 0.1255 -0.1427)
OKLCHoklch(52.43% 0.19 311.3)
XYZxyz(21.3573, 12.5692, 46.6391)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EB8 #69B83E
analogous
#503EB8 #8D3EB8 #B83EA6
triadic
#8D3EB8 #B88D3E #3EB88D
tetradic
#8D3EB8 #B8503E #69B83E #3EA6B8
square
#8D3EB8 #B8503E #69B83E #3EA6B8
split-complementary
#8D3EB8 #A6B83E #3EB850
monochromatic
#471F5C #6A2F8A #8D3EB8 #A867CC #C395DB

Accessibility & contrast

On white

5.98
#8D3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8D3EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EB8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EB8#FFFFFF#000000##FFFFFF
##8D3EB81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#885776
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3eb8;
/* rgb */ color: rgb(141, 62, 184);
/* oklch */ color: oklch(52.4% 0.190 311.3);
Tailwind
colors: {
  custom: {
    50: '#b279ce',
    500: '#8d3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eb8;
$custom-light: #b279ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eb8",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 278.852,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.19003,
    "h": 311.3
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#8D3EB8
secondary
#A0C78B
accent
#D94F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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