#8D3DD7#8D3DD7

#8D3DD7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.223 H 303.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D3DD7
RGBrgb(141, 61, 215)
HSLhsl(271, 66%, 54%)
HSVhsv(271, 72%, 84%)
CMYKcmyk(34.4%, 71.6%, 0%, 15.7%)
CIE-LABlab(44.10, 60.95, -65.34)
CIE-LCHlch(44.10, 89.36, 313.01°)
OKLaboklab(54.53% 0.1226 -0.186)
OKLCHoklch(54.53% 0.223 303.4)
XYZxyz(24.9161, 13.9065, 65.6484)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DD7 #87D73D
analogous
#403DD7 #8D3DD7 #D73DD4
triadic
#8D3DD7 #D78D3D #3DD78D
tetradic
#8D3DD7 #D7403D #87D73D #3DD4D7
square
#8D3DD7 #D7403D #87D73D #3DD4D7
split-complementary
#8D3DD7 #D4D73D #3DD740
monochromatic
#4F1A7F #6E25B2 #8D3DD7 #AB70E1 #C9A2EC

Accessibility & contrast

On white

5.55
#8D3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8D3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DD7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DD7#FFFFFF#000000##FFFFFF
##8D3DD71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#7E6286
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d3dd7;
/* rgb */ color: rgb(141, 61, 215);
/* oklch */ color: oklch(54.5% 0.223 303.4);
Tailwind
colors: {
  custom: {
    50: '#b479e4',
    500: '#8d3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dd7;
$custom-light: #b479e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dd7",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 271.169,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.22282,
    "h": 303.4
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#8D3DD7
secondary
#B7D997
accent
#E93F91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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