#8E48EB#8E48EB

#8E48EB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.231 H 298.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8E48EB
RGBrgb(142, 72, 235)
HSLhsl(266, 80%, 60%)
HSVhsv(266, 69%, 92%)
CMYKcmyk(39.6%, 69.4%, 0%, 7.8%)
CIE-LABlab(47.47, 60.93, -71.22)
CIE-LCHlch(47.47, 93.72, 310.55°)
OKLaboklab(57.42% 0.11 -0.2033)
OKLCHoklch(57.42% 0.231 298.4)
XYZxyz(28.4643, 16.3833, 80.2438)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E48EB #A5EB48
analogous
#4853EB #8E48EB #E048EB
triadic
#8E48EB #EB8E48 #48EB8E
tetradic
#8E48EB #EB4853 #A5EB48 #48EBE0
square
#8E48EB #EB4853 #A5EB48 #48EBE0
split-complementary
#8E48EB #EBE048 #53EB48
monochromatic
#5212A6 #6D18DE #8E48EB #B07FF1 #D2B6F7

Accessibility & contrast

On white

4.91
#8E48EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8E48EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E48EB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E48EB#FFFFFF#000000##FFFFFF
##8E48EB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#777095
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e48eb;
/* rgb */ color: rgb(142, 72, 235);
/* oklch */ color: oklch(57.4% 0.231 298.4);
Tailwind
colors: {
  custom: {
    50: '#b680f2',
    500: '#8e48eb',
    950: '#000000',
  },
}
SCSS
$custom: #8e48eb;
$custom-light: #b680f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e48eb",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 265.767,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.23119,
    "h": 298.4
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#8E48EB
secondary
#CCE7A8
accent
#DD0982
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E48EB

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

Preview Lab → · Contrast checker → · Palette generator →

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