#8D3FD6#8D3FD6

#8D3FD6 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.220 H 303.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D3FD6
RGBrgb(141, 63, 214)
HSLhsl(271, 65%, 54%)
HSVhsv(271, 71%, 84%)
CMYKcmyk(34.1%, 70.6%, 0%, 16.1%)
CIE-LABlab(44.34, 59.84, -64.38)
CIE-LCHlch(44.34, 87.90, 312.91°)
OKLaboklab(54.68% 0.1209 -0.1832)
OKLCHoklch(54.68% 0.22 303.4)
XYZxyz(24.8968, 14.0728, 65.0100)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FD6 #88D63F
analogous
#423FD6 #8D3FD6 #D63FD4
triadic
#8D3FD6 #D68D3F #3FD68D
tetradic
#8D3FD6 #D6423F #88D63F #3FD4D6
square
#8D3FD6 #D6423F #88D63F #3FD4D6
split-complementary
#8D3FD6 #D4D63F #3FD642
monochromatic
#4F1B7F #6E26B2 #8D3FD6 #AB71E1 #C9A4EC

Accessibility & contrast

On white

5.51
#8D3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8D3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FD6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FD6#FFFFFF#000000##FFFFFF
##8D3FD61.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#7E6386
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d3fd6;
/* rgb */ color: rgb(141, 63, 214);
/* oklch */ color: oklch(54.7% 0.220 303.4);
Tailwind
colors: {
  custom: {
    50: '#b47ae4',
    500: '#8d3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fd6;
$custom-light: #b47ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fd6",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 270.993,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.21951,
    "h": 303.4
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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