#8D3FD5#8D3FD5

#8D3FD5 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.218 H 303.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8D3FD5
RGBrgb(141, 63, 213)
HSLhsl(271, 64%, 54%)
HSVhsv(271, 70%, 84%)
CMYKcmyk(33.8%, 70.4%, 0%, 16.5%)
CIE-LABlab(44.26, 59.61, -63.93)
CIE-LCHlch(44.26, 87.41, 313.00°)
OKLaboklab(54.6% 0.121 -0.1819)
OKLCHoklch(54.6% 0.218 303.6)
XYZxyz(24.7695, 14.0219, 64.3395)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FD5 #87D53F
analogous
#423FD5 #8D3FD5 #D53FD2
triadic
#8D3FD5 #D58D3F #3FD58D
tetradic
#8D3FD5 #D5423F #87D53F #3FD2D5
square
#8D3FD5 #D5423F #87D53F #3FD2D5
split-complementary
#8D3FD5 #D2D53F #3FD542
monochromatic
#4F1C7E #6E27B0 #8D3FD5 #AB71E0 #C9A3EB

Accessibility & contrast

On white

5.52
#8D3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8D3FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FD5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FD5#FFFFFF#000000##FFFFFF
##8D3FD51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#7F6386
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d3fd5;
/* rgb */ color: rgb(141, 63, 213);
/* oklch */ color: oklch(54.6% 0.218 303.6);
Tailwind
colors: {
  custom: {
    50: '#b47ae3',
    500: '#8d3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fd5;
$custom-light: #b47ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fd5",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 271.2,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.546,
    "c": 0.21848,
    "h": 303.6
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#8D3FD5
secondary
#B7D898
accent
#E74191
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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