#8D3FD8#8D3FD8

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

Color values

HEX#8D3FD8
RGBrgb(141, 63, 216)
HSLhsl(271, 66%, 55%)
HSVhsv(271, 71%, 85%)
CMYKcmyk(34.7%, 70.8%, 0%, 15.3%)
CIE-LABlab(44.48, 60.31, -65.29)
CIE-LCHlch(44.48, 88.88, 312.73°)
OKLaboklab(54.83% 0.1205 -0.1859)
OKLCHoklch(54.83% 0.222 303)
XYZxyz(25.1538, 14.1756, 66.3634)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FD8 #8AD83F
analogous
#403FD8 #8D3FD8 #D83FD7
triadic
#8D3FD8 #D88D3F #3FD88D
tetradic
#8D3FD8 #D8403F #8AD83F #3FD7D8
square
#8D3FD8 #D8403F #8AD83F #3FD7D8
split-complementary
#8D3FD8 #D7D83F #3FD840
monochromatic
#4F1A82 #6E25B5 #8D3FD8 #AB72E2 #C9A5ED

Accessibility & contrast

On white

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

On black

3.84
#8D3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D3FD8#FFFFFF#000000##FFFFFF
##8D3FD81.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#7E6488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d3fd8;
/* rgb */ color: rgb(141, 63, 216);
/* oklch */ color: oklch(54.8% 0.222 303.0);
Tailwind
colors: {
  custom: {
    50: '#b47ae5',
    500: '#8d3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fd8;
$custom-light: #b47ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fd8",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 270.588,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.22156,
    "h": 303
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#8D3FD8
secondary
#B9DA99
accent
#E93F92
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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