#8E46DC#8E46DC

#8E46DC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.218 H 301.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8E46DC
RGBrgb(142, 70, 220)
HSLhsl(269, 68%, 57%)
HSVhsv(269, 68%, 86%)
CMYKcmyk(35.5%, 68.2%, 0%, 13.7%)
CIE-LABlab(46.04, 58.24, -65.04)
CIE-LCHlch(46.04, 87.31, 311.84°)
OKLaboklab(56.05% 0.1143 -0.1852)
OKLCHoklch(56.05% 0.218 301.7)
XYZxyz(26.2607, 15.2983, 69.2656)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46DC #94DC46
analogous
#4649DC #8E46DC #D946DC
triadic
#8E46DC #DC8E46 #46DC8E
tetradic
#8E46DC #DC4649 #94DC46 #46DCD9
square
#8E46DC #DC4649 #94DC46 #46DCD9
split-complementary
#8E46DC #DCD946 #49DC46
monochromatic
#521B8D #6F24C0 #8E46DC #AD79E6 #CDADEF

Accessibility & contrast

On white

5.17
#8E46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8E46DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46DC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46DC#FFFFFF#000000##FFFFFF
##8E46DC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#7E698C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e46dc;
/* rgb */ color: rgb(142, 70, 220);
/* oklch */ color: oklch(56.1% 0.218 301.7);
Tailwind
colors: {
  custom: {
    50: '#b57fe8',
    500: '#8e46dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e46dc;
$custom-light: #b57fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46dc",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 268.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56051,
    "c": 0.21762,
    "h": 301.7
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#8E46DC
secondary
#C0DDA0
accent
#EB3D97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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