#8E48E3#8E48E3

#8E48E3 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.223 H 300.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8E48E3
RGBrgb(142, 72, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 68%, 89%)
CMYKcmyk(37.4%, 68.3%, 0%, 11%)
CIE-LABlab(46.88, 58.98, -67.65)
CIE-LCHlch(46.88, 89.75, 311.08°)
OKLaboklab(56.81% 0.1113 -0.1929)
OKLCHoklch(56.81% 0.223 300)
XYZxyz(27.3344, 15.9313, 74.2931)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E48E3 #9DE348
analogous
#484FE3 #8E48E3 #DC48E3
triadic
#8E48E3 #E38E48 #48E38E
tetradic
#8E48E3 #E3484F #9DE348 #48E3DC
square
#8E48E3 #E3484F #9DE348 #48E3DC
split-complementary
#8E48E3 #E3DC48 #4FE348
monochromatic
#521799 #6E20CE #8E48E3 #AF7DEB #D0B2F3

Accessibility & contrast

On white

5.02
#8E48E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8E48E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E48E3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E48E3#FFFFFF#000000##FFFFFF
##8E48E31.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#7B6D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e48e3;
/* rgb */ color: rgb(142, 72, 227);
/* oklch */ color: oklch(56.8% 0.223 300.0);
Tailwind
colors: {
  custom: {
    50: '#b580ed',
    500: '#8e48e3',
    950: '#000000',
  },
}
SCSS
$custom: #8e48e3;
$custom-light: #b580ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e48e3",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 267.097,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.22266,
    "h": 300
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#8E48E3
secondary
#C6E2A5
accent
#F0389D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E48E3

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

Preview Lab → · Contrast checker → · Palette generator →

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