#8D46EA#8D46EA

#8D46EA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.232 H 298.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D46EA
RGBrgb(141, 70, 234)
HSLhsl(266, 80%, 60%)
HSVhsv(266, 70%, 92%)
CMYKcmyk(39.7%, 70.1%, 0%, 8.2%)
CIE-LABlab(46.95, 61.43, -71.51)
CIE-LCHlch(46.95, 94.27, 310.67°)
OKLaboklab(57% 0.1107 -0.2042)
OKLCHoklch(57% 0.232 298.5)
XYZxyz(28.0222, 15.9831, 79.4346)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46EA #A3EA46
analogous
#4651EA #8D46EA #DF46EA
triadic
#8D46EA #EA8D46 #46EA8D
tetradic
#8D46EA #EA4651 #A3EA46 #46EADF
square
#8D46EA #EA4651 #A3EA46 #46EADF
split-complementary
#8D46EA #EADF46 #51EA46
monochromatic
#5113A3 #6C19DA #8D46EA #AF7DF0 #D1B4F6

Accessibility & contrast

On white

5.00
#8D46EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8D46EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46EA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46EA#FFFFFF#000000##FFFFFF
##8D46EA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#766F93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d46ea;
/* rgb */ color: rgb(141, 70, 234);
/* oklch */ color: oklch(57.0% 0.232 298.5);
Tailwind
colors: {
  custom: {
    50: '#b57ff2',
    500: '#8d46ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d46ea;
$custom-light: #b57ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46ea",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 234
  },
  "hsl": {
    "h": 265.976,
    "s": 79.612,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.23229,
    "h": 298.5
  },
  "luminance": 0.15984
}

Semantic roles & 50–950 ramp

primary
#8D46EA
secondary
#CAE6A6
accent
#F632A1
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8D46EA

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

Preview Lab → · Contrast checker → · Palette generator →

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