#8E46DB#8E46DB

#8E46DB is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.217 H 301.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8E46DB
RGBrgb(142, 70, 219)
HSLhsl(269, 67%, 57%)
HSVhsv(269, 68%, 86%)
CMYKcmyk(35.2%, 68%, 0%, 14.1%)
CIE-LABlab(45.97, 58.00, -64.59)
CIE-LCHlch(45.97, 86.81, 311.93°)
OKLaboklab(55.98% 0.1144 -0.1839)
OKLCHoklch(55.98% 0.217 301.9)
XYZxyz(26.1286, 15.2455, 68.5702)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46DB #93DB46
analogous
#4649DB #8E46DB #D846DB
triadic
#8E46DB #DB8E46 #46DB8E
tetradic
#8E46DB #DB4649 #93DB46 #46DBD8
square
#8E46DB #DB4649 #93DB46 #46DBD8
split-complementary
#8E46DB #DBD846 #49DB46
monochromatic
#511B8B #6F25BF #8E46DB #AD79E5 #CDACEF

Accessibility & contrast

On white

5.19
#8E46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8E46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46DB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46DB#FFFFFF#000000##FFFFFF
##8E46DB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#7E698B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e46db;
/* rgb */ color: rgb(142, 70, 219);
/* oklch */ color: oklch(56.0% 0.217 301.9);
Tailwind
colors: {
  custom: {
    50: '#b57fe7',
    500: '#8e46db',
    950: '#000000',
  },
}
SCSS
$custom: #8e46db;
$custom-light: #b57fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46db",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 268.993,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.21655,
    "h": 301.9
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#8E46DB
secondary
#BFDDA0
accent
#EA3D97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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