#8E48DB#8E48DB

#8E48DB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.214 H 301.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8E48DB
RGBrgb(142, 72, 219)
HSLhsl(269, 67%, 57%)
HSVhsv(269, 67%, 86%)
CMYKcmyk(35.2%, 67.1%, 0%, 14.1%)
CIE-LABlab(46.31, 57.05, -64.03)
CIE-LCHlch(46.31, 85.76, 311.70°)
OKLaboklab(56.22% 0.1124 -0.1822)
OKLCHoklch(56.22% 0.214 301.7)
XYZxyz(26.2558, 15.4999, 68.6126)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E48DB #95DB48
analogous
#484CDB #8E48DB #D748DB
triadic
#8E48DB #DB8E48 #48DB8E
tetradic
#8E48DB #DB484C #95DB48 #48DBD7
square
#8E48DB #DB484C #95DB48 #48DBD7
split-complementary
#8E48DB #DBD748 #4CDB48
monochromatic
#521C8D #6F26C0 #8E48DB #AE7BE5 #CDAEEF

Accessibility & contrast

On white

5.12
#8E48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8E48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E48DB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E48DB#FFFFFF#000000##FFFFFF
##8E48DB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#7E6A8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e48db;
/* rgb */ color: rgb(142, 72, 219);
/* oklch */ color: oklch(56.2% 0.214 301.7);
Tailwind
colors: {
  custom: {
    50: '#b580e7',
    500: '#8e48db',
    950: '#000000',
  },
}
SCSS
$custom: #8e48db;
$custom-light: #b580e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e48db",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 268.571,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56223,
    "c": 0.21409,
    "h": 301.7
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#8E48DB
secondary
#C1DDA2
accent
#EA3E98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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