#8E48D7#8E48D7

#8E48D7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.210 H 302.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8E48D7
RGBrgb(142, 72, 215)
HSLhsl(269, 64%, 56%)
HSVhsv(269, 67%, 84%)
CMYKcmyk(34%, 66.5%, 0%, 15.7%)
CIE-LABlab(46.03, 56.09, -62.20)
CIE-LCHlch(46.03, 83.76, 312.04°)
OKLaboklab(55.93% 0.1128 -0.1768)
OKLCHoklch(55.93% 0.21 302.5)
XYZxyz(25.7356, 15.2918, 65.8726)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E48D7 #91D748
analogous
#484AD7 #8E48D7 #D648D7
triadic
#8E48D7 #D78E48 #48D78E
tetradic
#8E48D7 #D7484A #91D748 #48D7D6
square
#8E48D7 #D7484A #91D748 #48D7D6
split-complementary
#8E48D7 #D7D648 #4AD748
monochromatic
#511E87 #6F29B9 #8E48D7 #AD7AE2 #CCACED

Accessibility & contrast

On white

5.17
#8E48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8E48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E48D7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E48D7#FFFFFF#000000##FFFFFF
##8E48D71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#016DD4
Tritanopia (blue-blind)
#7F688A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e48d7;
/* rgb */ color: rgb(142, 72, 215);
/* oklch */ color: oklch(55.9% 0.210 302.5);
Tailwind
colors: {
  custom: {
    50: '#b480e4',
    500: '#8e48d7',
    950: '#000000',
  },
}
SCSS
$custom: #8e48d7;
$custom-light: #b480e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e48d7",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 269.371,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.20977,
    "h": 302.5
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#8E48D7
secondary
#BEDBA0
accent
#E74196
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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