#8D3EDA#8D3EDA

#8D3EDA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.225 H 302.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D3EDA
RGBrgb(141, 62, 218)
HSLhsl(270, 68%, 55%)
HSVhsv(270, 72%, 85%)
CMYKcmyk(35.3%, 71.6%, 0%, 14.5%)
CIE-LABlab(44.48, 61.21, -66.45)
CIE-LCHlch(44.48, 90.35, 312.65°)
OKLaboklab(54.87% 0.1211 -0.1893)
OKLCHoklch(54.87% 0.225 302.6)
XYZxyz(25.3590, 14.1699, 67.7151)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EDA #8BDA3E
analogous
#3F3EDA #8D3EDA #DA3ED9
triadic
#8D3EDA #DA8D3E #3EDA8D
tetradic
#8D3EDA #DA3F3E #8BDA3E #3ED9DA
square
#8D3EDA #DA3F3E #8BDA3E #3ED9DA
split-complementary
#8D3EDA #D9DA3E #3EDA3F
monochromatic
#4F1984 #6E23B8 #8D3EDA #AB71E4 #CAA5EE

Accessibility & contrast

On white

5.48
#8D3EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8D3EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EDA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EDA#FFFFFF#000000##FFFFFF
##8D3EDA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#7D6488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d3eda;
/* rgb */ color: rgb(141, 62, 218);
/* oklch */ color: oklch(54.9% 0.225 302.6);
Tailwind
colors: {
  custom: {
    50: '#b47ae6',
    500: '#8d3eda',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eda;
$custom-light: #b47ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eda",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 218
  },
  "hsl": {
    "h": 270.385,
    "s": 67.826,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.22474,
    "h": 302.6
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#8D3EDA
secondary
#B9DB99
accent
#EB3D93
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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