#8E48E8#8E48E8

#8E48E8 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.2% C 0.228 H 299.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E48E8
RGBrgb(142, 72, 232)
HSLhsl(266, 78%, 60%)
HSVhsv(266, 69%, 91%)
CMYKcmyk(38.8%, 69%, 0%, 9%)
CIE-LABlab(47.25, 60.20, -69.89)
CIE-LCHlch(47.25, 92.24, 310.74°)
OKLaboklab(57.19% 0.1105 -0.1994)
OKLCHoklch(57.19% 0.228 299)
XYZxyz(28.0345, 16.2114, 77.9804)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E48E8 #A2E848
analogous
#4852E8 #8E48E8 #DE48E8
triadic
#8E48E8 #E88E48 #48E88E
tetradic
#8E48E8 #E84852 #A2E848 #48E8DE
square
#8E48E8 #E84852 #A2E848 #48E8DE
split-complementary
#8E48E8 #E8DE48 #52E848
monochromatic
#5214A1 #6E1BD8 #8E48E8 #B07EEF #D1B5F6

Accessibility & contrast

On white

4.95
#8E48E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8E48E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E48E8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E48E8#FFFFFF#000000##FFFFFF
##8E48E81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#796F93
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e48e8;
/* rgb */ color: rgb(142, 72, 232);
/* oklch */ color: oklch(57.2% 0.228 299.0);
Tailwind
colors: {
  custom: {
    50: '#b680f0',
    500: '#8e48e8',
    950: '#000000',
  },
}
SCSS
$custom: #8e48e8;
$custom-light: #b680f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e48e8",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 266.25,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57189,
    "c": 0.228,
    "h": 299
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#8E48E8
secondary
#CAE5A7
accent
#F434A0
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E48E8

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

Preview Lab → · Contrast checker → · Palette generator →

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