#8E46D2#8E46D2

#8E46D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.207 H 303.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8E46D2
RGBrgb(142, 70, 210)
HSLhsl(271, 61%, 55%)
HSVhsv(271, 67%, 82%)
CMYKcmyk(32.4%, 66.7%, 0%, 17.6%)
CIE-LABlab(45.34, 55.87, -60.46)
CIE-LCHlch(45.34, 82.32, 312.74°)
OKLaboklab(55.33% 0.1156 -0.1717)
OKLCHoklch(55.33% 0.207 303.9)
XYZxyz(24.9757, 14.7843, 62.4982)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46D2 #8AD246
analogous
#4846D2 #8E46D2 #D246D0
triadic
#8E46D2 #D28E46 #46D28E
tetradic
#8E46D2 #D24846 #8AD246 #46D0D2
square
#8E46D2 #D24846 #8AD246 #46D0D2
split-complementary
#8E46D2 #D0D246 #46D248
monochromatic
#501F7F #6F2BB0 #8E46D2 #AC77DE #CAA8EA

Accessibility & contrast

On white

5.31
#8E46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8E46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46D2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46D2#FFFFFF#000000##FFFFFF
##8E46D21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#106BCF
Tritanopia (blue-blind)
#816586
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e46d2;
/* rgb */ color: rgb(142, 70, 210);
/* oklch */ color: oklch(55.3% 0.207 303.9);
Tailwind
colors: {
  custom: {
    50: '#b47ee1',
    500: '#8e46d2',
    950: '#000000',
  },
}
SCSS
$custom: #8e46d2;
$custom-light: #b47ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46d2",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 270.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.20697,
    "h": 303.9
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#8E46D2
secondary
#B9D79C
accent
#E44492
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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