#8E46D4#8E46D4

#8E46D4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.209 H 303.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8E46D4
RGBrgb(142, 70, 212)
HSLhsl(270, 62%, 55%)
HSVhsv(270, 67%, 83%)
CMYKcmyk(33%, 67%, 0%, 16.9%)
CIE-LABlab(45.48, 56.34, -61.38)
CIE-LCHlch(45.48, 83.32, 312.55°)
OKLaboklab(55.47% 0.1153 -0.1744)
OKLCHoklch(55.47% 0.209 303.5)
XYZxyz(25.2264, 14.8846, 63.8186)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46D4 #8CD446
analogous
#4746D4 #8E46D4 #D446D3
triadic
#8E46D4 #D48E46 #46D48E
tetradic
#8E46D4 #D44746 #8CD446 #46D3D4
square
#8E46D4 #D44746 #8CD446 #46D3D4
split-complementary
#8E46D4 #D3D446 #46D447
monochromatic
#511E81 #6F2AB3 #8E46D4 #AC78E0 #CBA9EB

Accessibility & contrast

On white

5.28
#8E46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8E46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46D4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46D4#FFFFFF#000000##FFFFFF
##8E46D41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#076BD1
Tritanopia (blue-blind)
#806687
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e46d4;
/* rgb */ color: rgb(142, 70, 212);
/* oklch */ color: oklch(55.5% 0.209 303.5);
Tailwind
colors: {
  custom: {
    50: '#b47ee2',
    500: '#8e46d4',
    950: '#000000',
  },
}
SCSS
$custom: #8e46d4;
$custom-light: #b47ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46d4",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 270.423,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55469,
    "c": 0.2091,
    "h": 303.5
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#8E46D4
secondary
#BAD99D
accent
#E54293
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8E46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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