#8D46D2#8D46D2

#8D46D2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.207 H 303.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8D46D2
RGBrgb(141, 70, 210)
HSLhsl(270, 61%, 55%)
HSVhsv(270, 67%, 82%)
CMYKcmyk(32.9%, 66.7%, 0%, 17.6%)
CIE-LABlab(45.22, 55.66, -60.66)
CIE-LCHlch(45.22, 82.33, 312.54°)
OKLaboklab(55.21% 0.1142 -0.1723)
OKLCHoklch(55.21% 0.207 303.5)
XYZxyz(24.8049, 14.6962, 62.4901)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46D2 #8BD246
analogous
#4746D2 #8D46D2 #D246D1
triadic
#8D46D2 #D28D46 #46D28D
tetradic
#8D46D2 #D24746 #8BD246 #46D1D2
square
#8D46D2 #D24746 #8BD246 #46D1D2
split-complementary
#8D46D2 #D1D246 #46D247
monochromatic
#4F1F7F #6E2BB0 #8D46D2 #AB77DE #CAA8EA

Accessibility & contrast

On white

5.33
#8D46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8D46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46D2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46D2#FFFFFF#000000##FFFFFF
##8D46D21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0C6BCF
Tritanopia (blue-blind)
#806586
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d46d2;
/* rgb */ color: rgb(141, 70, 210);
/* oklch */ color: oklch(55.2% 0.207 303.5);
Tailwind
colors: {
  custom: {
    50: '#b37ee1',
    500: '#8d46d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d46d2;
$custom-light: #b37ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46d2",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 270.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.20675,
    "h": 303.5
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#8D46D2
secondary
#B9D79C
accent
#E44493
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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