#8D3EB9#8D3EB9

#8D3EB9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.191 H 311.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D3EB9
RGBrgb(141, 62, 185)
HSLhsl(279, 50%, 48%)
HSVhsv(279, 66%, 73%)
CMYKcmyk(23.8%, 66.5%, 0%, 27.5%)
CIE-LABlab(42.17, 53.73, -51.06)
CIE-LCHlch(42.17, 74.13, 316.46°)
OKLaboklab(52.49% 0.1254 -0.1441)
OKLCHoklch(52.49% 0.191 311)
XYZxyz(21.4624, 12.6113, 47.1931)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EB9 #6AB93E
analogous
#4F3EB9 #8D3EB9 #B93EA7
triadic
#8D3EB9 #B98D3E #3EB98D
tetradic
#8D3EB9 #B94F3E #6AB93E #3EA7B9
square
#8D3EB9 #B94F3E #6AB93E #3EA7B9
split-complementary
#8D3EB9 #A7B93E #3EB94F
monochromatic
#471F5D #6A2F8B #8D3EB9 #A868CC #C396DC

Accessibility & contrast

On white

5.96
#8D3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8D3EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EB9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EB9#FFFFFF#000000##FFFFFF
##8D3EB91.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#2F65B6
Tritanopia (blue-blind)
#875776
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3eb9;
/* rgb */ color: rgb(141, 62, 185);
/* oklch */ color: oklch(52.5% 0.191 311.0);
Tailwind
colors: {
  custom: {
    50: '#b279cf',
    500: '#8d3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eb9;
$custom-light: #b279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eb9",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 278.537,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.19104,
    "h": 311
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#8D3EB9
secondary
#A1C78C
accent
#D94E80
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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