#8D46D4#8D46D4

#8D46D4 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.209 H 303.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D46D4
RGBrgb(141, 70, 212)
HSLhsl(270, 62%, 55%)
HSVhsv(270, 67%, 83%)
CMYKcmyk(33.5%, 67%, 0%, 16.9%)
CIE-LABlab(45.35, 56.14, -61.59)
CIE-LCHlch(45.35, 83.33, 312.35°)
OKLaboklab(55.36% 0.114 -0.1751)
OKLCHoklch(55.36% 0.209 303.1)
XYZxyz(25.0556, 14.7965, 63.8106)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46D4 #8DD446
analogous
#4646D4 #8D46D4 #D446D4
triadic
#8D46D4 #D48D46 #46D48D
tetradic
#8D46D4 #D44646 #8DD446 #46D4D4
square
#8D46D4 #D44646 #8DD446 #46D4D4
split-complementary
#8D46D4 #D4D446 #46D446
monochromatic
#501E81 #6E2AB3 #8D46D4 #AC78E0 #CAA9EB

Accessibility & contrast

On white

5.30
#8D46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8D46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46D4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46D4#FFFFFF#000000##FFFFFF
##8D46D41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#026BD1
Tritanopia (blue-blind)
#7F6687
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d46d4;
/* rgb */ color: rgb(141, 70, 212);
/* oklch */ color: oklch(55.4% 0.209 303.1);
Tailwind
colors: {
  custom: {
    50: '#b37ee2',
    500: '#8d46d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d46d4;
$custom-light: #b37ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46d4",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 270,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.2089,
    "h": 303.1
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#8D46D4
secondary
#BBD99D
accent
#E54294
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8D46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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