#8D3DD4#8D3DD4

#8D3DD4 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.220 H 304.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8D3DD4
RGBrgb(141, 61, 212)
HSLhsl(272, 64%, 54%)
HSVhsv(272, 71%, 83%)
CMYKcmyk(33.5%, 71.2%, 0%, 16.9%)
CIE-LABlab(43.88, 60.26, -63.98)
CIE-LCHlch(43.88, 87.89, 313.29°)
OKLaboklab(54.3% 0.1231 -0.182)
OKLCHoklch(54.3% 0.22 304.1)
XYZxyz(24.5342, 13.7537, 63.6368)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DD4 #84D43D
analogous
#413DD4 #8D3DD4 #D43DCF
triadic
#8D3DD4 #D48D3D #3DD48D
tetradic
#8D3DD4 #D4413D #84D43D #3DCFD4
square
#8D3DD4 #D4413D #84D43D #3DCFD4
split-complementary
#8D3DD4 #CFD43D #3DD441
monochromatic
#4E1B7B #6E26AD #8D3DD4 #AA6FDF #C8A1EA

Accessibility & contrast

On white

5.60
#8D3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8D3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DD4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DD4#FFFFFF#000000##FFFFFF
##8D3DD41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d3dd4;
/* rgb */ color: rgb(141, 61, 212);
/* oklch */ color: oklch(54.3% 0.220 304.1);
Tailwind
colors: {
  custom: {
    50: '#b479e2',
    500: '#8d3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dd4;
$custom-light: #b479e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dd4",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 271.788,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.21979,
    "h": 304.1
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#8D3DD4
secondary
#B4D796
accent
#E7418F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8D3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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