#8D3FD4#8D3FD4

#8D3FD4 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.217 H 303.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8D3FD4
RGBrgb(141, 63, 212)
HSLhsl(271, 63%, 54%)
HSVhsv(271, 70%, 83%)
CMYKcmyk(33.5%, 70.3%, 0%, 16.9%)
CIE-LABlab(44.19, 59.38, -63.47)
CIE-LCHlch(44.19, 86.92, 313.09°)
OKLaboklab(54.53% 0.1212 -0.1806)
OKLCHoklch(54.53% 0.217 303.9)
XYZxyz(24.6429, 13.9713, 63.6731)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FD4 #86D43F
analogous
#433FD4 #8D3FD4 #D43FD1
triadic
#8D3FD4 #D48D3F #3FD48D
tetradic
#8D3FD4 #D4433F #86D43F #3FD1D4
square
#8D3FD4 #D4433F #86D43F #3FD1D4
split-complementary
#8D3FD4 #D1D43F #3FD443
monochromatic
#4F1C7D #6E27AF #8D3FD4 #AB71DF #C8A3EA

Accessibility & contrast

On white

5.53
#8D3FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8D3FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FD4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FD4#FFFFFF#000000##FFFFFF
##8D3FD41.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#7F6285
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d3fd4;
/* rgb */ color: rgb(141, 63, 212);
/* oklch */ color: oklch(54.5% 0.217 303.9);
Tailwind
colors: {
  custom: {
    50: '#b47ae2',
    500: '#8d3fd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fd4;
$custom-light: #b47ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fd4",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 271.409,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.21745,
    "h": 303.9
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#8D3FD4
secondary
#B6D798
accent
#E64190
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8D3FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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