#8E46DD#8E46DD

#8E46DD is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.219 H 301.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8E46DD
RGBrgb(142, 70, 221)
HSLhsl(269, 69%, 57%)
HSVhsv(269, 68%, 87%)
CMYKcmyk(35.7%, 68.3%, 0%, 13.3%)
CIE-LABlab(46.11, 58.48, -65.50)
CIE-LCHlch(46.11, 87.81, 311.76°)
OKLaboklab(56.13% 0.1142 -0.1865)
OKLCHoklch(56.13% 0.219 301.5)
XYZxyz(26.3935, 15.3514, 69.9652)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46DD #95DD46
analogous
#464ADD #8E46DD #D946DD
triadic
#8E46DD #DD8E46 #46DD8E
tetradic
#8E46DD #DD464A #95DD46 #46DDD9
square
#8E46DD #DD464A #95DD46 #46DDD9
split-complementary
#8E46DD #DDD946 #4ADD46
monochromatic
#521A8E #6F24C2 #8E46DD #AE7AE7 #CDADF0

Accessibility & contrast

On white

5.16
#8E46DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8E46DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46DD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46DD#FFFFFF#000000##FFFFFF
##8E46DD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#7D698C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e46dd;
/* rgb */ color: rgb(142, 70, 221);
/* oklch */ color: oklch(56.1% 0.219 301.5);
Tailwind
colors: {
  custom: {
    50: '#b57fe8',
    500: '#8e46dd',
    950: '#000000',
  },
}
SCSS
$custom: #8e46dd;
$custom-light: #b57fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46dd",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 268.609,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.21868,
    "h": 301.5
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#8E46DD
secondary
#C1DEA1
accent
#EC3C98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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