#8D46E3#8D46E3

#8D46E3 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.225 H 299.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8D46E3
RGBrgb(141, 70, 227)
HSLhsl(267, 74%, 58%)
HSVhsv(267, 69%, 89%)
CMYKcmyk(37.9%, 69.2%, 0%, 11%)
CIE-LABlab(46.43, 59.73, -68.39)
CIE-LCHlch(46.43, 90.81, 311.13°)
OKLaboklab(56.46% 0.1119 -0.1951)
OKLCHoklch(56.46% 0.225 299.8)
XYZxyz(27.0363, 15.5888, 74.2427)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46E3 #9CE346
analogous
#464DE3 #8D46E3 #DC46E3
triadic
#8D46E3 #E38D46 #46E38D
tetradic
#8D46E3 #E3464D #9CE346 #46E3DC
square
#8D46E3 #E3464D #9CE346 #46E3DC
split-complementary
#8D46E3 #E3DC46 #4DE346
monochromatic
#511798 #6E1FCD #8D46E3 #AE7BEB #CFB0F3

Accessibility & contrast

On white

5.10
#8D46E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8D46E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46E3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46E3#FFFFFF#000000##FFFFFF
##8D46E31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#796C90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d46e3;
/* rgb */ color: rgb(141, 70, 227);
/* oklch */ color: oklch(56.5% 0.225 299.8);
Tailwind
colors: {
  custom: {
    50: '#b57fed',
    500: '#8d46e3',
    950: '#000000',
  },
}
SCSS
$custom: #8d46e3;
$custom-light: #b57fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46e3",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 227
  },
  "hsl": {
    "h": 267.134,
    "s": 73.709,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.22488,
    "h": 299.8
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#8D46E3
secondary
#C5E2A3
accent
#F0379D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D46E3

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

Preview Lab → · Contrast checker → · Palette generator →

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