#8D46E8#8D46E8

#8D46E8 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.230 H 298.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D46E8
RGBrgb(141, 70, 232)
HSLhsl(266, 78%, 59%)
HSVhsv(266, 70%, 91%)
CMYKcmyk(39.2%, 69.8%, 0%, 9%)
CIE-LABlab(46.80, 60.95, -70.62)
CIE-LCHlch(46.80, 93.28, 310.79°)
OKLaboklab(56.84% 0.111 -0.2016)
OKLCHoklch(56.84% 0.23 298.8)
XYZxyz(27.7365, 15.8689, 77.9300)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46E8 #A1E846
analogous
#4650E8 #8D46E8 #DE46E8
triadic
#8D46E8 #E88D46 #46E88D
tetradic
#8D46E8 #E84650 #A1E846 #46E8DE
square
#8D46E8 #E84650 #A1E846 #46E8DE
split-complementary
#8D46E8 #E8DE46 #50E846
monochromatic
#5114A0 #6D1BD6 #8D46E8 #AF7CEF #D0B3F6

Accessibility & contrast

On white

5.03
#8D46E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8D46E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46E8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46E8#FFFFFF#000000##FFFFFF
##8D46E81.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#776E92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d46e8;
/* rgb */ color: rgb(141, 70, 232);
/* oklch */ color: oklch(56.8% 0.230 298.8);
Tailwind
colors: {
  custom: {
    50: '#b57ff0',
    500: '#8d46e8',
    950: '#000000',
  },
}
SCSS
$custom: #8d46e8;
$custom-light: #b57ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46e8",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 266.296,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.23017,
    "h": 298.8
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#8D46E8
secondary
#C9E5A5
accent
#F433A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8D46E8

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

Preview Lab → · Contrast checker → · Palette generator →

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