#8D3DDA#8D3DDA

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

Color values

HEX#8D3DDA
RGBrgb(141, 61, 218)
HSLhsl(271, 68%, 55%)
HSVhsv(271, 72%, 85%)
CMYKcmyk(35.3%, 72%, 0%, 14.5%)
CIE-LABlab(44.32, 61.65, -66.70)
CIE-LCHlch(44.32, 90.82, 312.75°)
OKLaboklab(54.76% 0.1221 -0.19)
OKLCHoklch(54.76% 0.226 302.7)
XYZxyz(25.3051, 14.0621, 67.6972)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DDA #8ADA3D
analogous
#3F3DDA #8D3DDA #DA3DD9
triadic
#8D3DDA #DA8D3D #3DDA8D
tetradic
#8D3DDA #DA3F3D #8ADA3D #3DD9DA
square
#8D3DDA #DA3F3D #8ADA3D #3DD9DA
split-complementary
#8D3DDA #D9DA3D #3DDA3F
monochromatic
#4F1984 #6E23B7 #8D3DDA #AB70E4 #C9A4EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D3DDA#FFFFFF#000000##FFFFFF
##8D3DDA1.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)
#0067DF
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#7D6388
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d3dda;
/* rgb */ color: rgb(141, 61, 218);
/* oklch */ color: oklch(54.8% 0.226 302.7);
Tailwind
colors: {
  custom: {
    50: '#b479e6',
    500: '#8d3dda',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dda;
$custom-light: #b479e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dda",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 218
  },
  "hsl": {
    "h": 270.573,
    "s": 67.965,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.22586,
    "h": 302.7
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#8D3DDA
secondary
#B9DB98
accent
#EB3D92
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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